| Submitter | Robert Reif |
|---|---|
| Date | Jan. 14, 2009, 3:38 a.m. |
| Message ID | <496D5E19.7040802@earthlink.net> |
| Download | mbox | patch |
| Permalink | /patch/18341/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
diff --git a/kernel/Makefile b/kernel/Makefile index 2aebc4c..368227d 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -43,8 +43,10 @@ obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o ifeq ($(CONFIG_USE_GENERIC_SMP_HELPERS),y) obj-y += smp.o else +ifneq ($(CONFIG_SMP),y) obj-y += up.o endif +endif obj-$(CONFIG_SMP) += spinlock.o obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o obj-$(CONFIG_PROVE_LOCKING) += spinlock.o