mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
kernel/up.c: omit it if SMP=y, USE_GENERIC_SMP_HELPERS=n
Fix the sparc build - we were including `up.o' on SMP builds, when CONFIG_USE_GENERIC_SMP_HELPERS=n. Tested-by: Robert Reif <reif@earthlink.net> Fixed-by: Robert Reif <reif@earthlink.net> Cc: David Miller <davem@davemloft.net> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
18e6959c38
commit
9316fcacb8
1 changed files with 2 additions and 3 deletions
|
@ -40,9 +40,8 @@ obj-$(CONFIG_RT_MUTEXES) += rtmutex.o
|
||||||
obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o
|
obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o
|
||||||
obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o
|
obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o
|
||||||
obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o
|
obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o
|
||||||
ifeq ($(CONFIG_USE_GENERIC_SMP_HELPERS),y)
|
obj-$(CONFIG_USE_GENERIC_SMP_HELPERS) += smp.o
|
||||||
obj-y += smp.o
|
ifneq ($(CONFIG_SMP),y)
|
||||||
else
|
|
||||||
obj-y += up.o
|
obj-y += up.o
|
||||||
endif
|
endif
|
||||||
obj-$(CONFIG_SMP) += spinlock.o
|
obj-$(CONFIG_SMP) += spinlock.o
|
||||||
|
|
Loading…
Reference in a new issue