summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2006-01-25 09:31:30 +0100
committerPaul Mackerras <paulus@samba.org>2006-02-07 12:38:36 +0100
commit3b9331dac16555e8788ae21723f2146c3f994ebb (patch)
treef9f73d6b59c7d621ec8312348065dfd6ededef3c /arch
parent[PATCH] powerpc: Always panic if lmb_alloc() fails (diff)
downloadlinux-3b9331dac16555e8788ae21723f2146c3f994ebb.tar.xz
linux-3b9331dac16555e8788ae21723f2146c3f994ebb.zip
[PATCH] powerpc: Move LMB_ALLOC_ANYWHERE out of lmb.h
LMB_ALLOC_ANYWHERE doesn't need to be part of the API, it's only used in lmb.c - so move it out of the header file. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/mm/lmb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/mm/lmb.c b/arch/powerpc/mm/lmb.c
index d9c76ce5fa8f..874cd103ce6e 100644
--- a/arch/powerpc/mm/lmb.c
+++ b/arch/powerpc/mm/lmb.c
@@ -31,6 +31,8 @@
#define DBG(fmt...)
#endif
+#define LMB_ALLOC_ANYWHERE 0
+
struct lmb lmb;
void lmb_dump_all(void)