[PATCH] powerpc: Move LMB_ALLOC_ANYWHERE out of lmb.h
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 25 Jan 2006 08:31:30 +0000 (21:31 +1300)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Feb 2006 11:38:36 +0000 (22:38 +1100)
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>
arch/powerpc/mm/lmb.c
include/asm-powerpc/lmb.h

index d9c76ce..874cd10 100644 (file)
@@ -31,6 +31,8 @@
 #define DBG(fmt...)
 #endif
 
+#define LMB_ALLOC_ANYWHERE     0
+
 struct lmb lmb;
 
 void lmb_dump_all(void)
index 4fda8ea..fbb7bde 100644 (file)
@@ -19,8 +19,6 @@
 
 #define MAX_LMB_REGIONS 128
 
-#define LMB_ALLOC_ANYWHERE     0
-
 struct lmb_property {
        unsigned long base;
        unsigned long size;