Skip to contentSkip to conversation

SLOB: fix build error if SLOB && !NUMA

PATCH Applied Andreas Herrmann 1 participant 1 message Jun 19, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 10/12 SLOB: fix build error if SLOB && !NUMA

Fix build error:

LD .tmp_vmlinux1
arch/x86_64/kernel/built-in.o: In function `__cpu_up':
: undefined reference to kmalloc_node' kernel/built-in.o: In function build_sched_domains':
sched.c:(.text+0x41e7): undefined reference to kmalloc_node' sched.c:(.text+0x42b5): undefined reference to kmalloc_node' kernel/built-in.o: In function `timer_cpu_notify':
timer.c:(.init.text+0x1163): undefined reference to kmalloc_node' mm/built-in.o: In function mempool_create_node':
: undefined reference to `kmalloc_node'
mm/built-in.o:: more undefined references to `kmalloc_node' follow

... hmm, SLOB currently does not provide kmalloc_node() and friends.

---
 init/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
init/Kconfig +1 -1
index a9e99f8..d4a68f6 100644
@@ -576,7 +576,7 @@ config SLUB
 	   and has enhanced diagnostics.
 
 config SLOB
-	depends on EMBEDDED && !SPARSEMEM
+	depends on EMBEDDED && !SPARSEMEM && !NUMA
 	bool "SLOB (Simple Allocator)"
 	help
 	   SLOB replaces the SLAB allocator with a drastically simpler
Signature · 1 line
1.5.0.7