Message ID | 496D5E19.7040802@earthlink.net |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
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