From: "Andreas Herrmann" <andreas.herrmann3@amd.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 10/12] SLOB: fix build error if SLOB && !NUMA
Date: Wed, 20 Jun 2007 00:51:45 +0200 [thread overview]
Message-ID: <20070619225145.GL5193@alberich.amd.com> (raw)
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.
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
---
init/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/init/Kconfig b/init/Kconfig
index a9e99f8..d4a68f6 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -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
--
1.5.0.7
reply other threads:[~2007-06-19 22:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070619225145.GL5193@alberich.amd.com \
--to=andreas.herrmann3@amd.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome