[PATCH 4/5] powerpc: Move LMB_ALLOC_ANYWHERE out of lmb.h

Michael Ellerman michael at ellerman.id.au
Wed Jan 25 19:31:30 EST 2006


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 at ellerman.id.au>
---

 arch/powerpc/mm/lmb.c     |    2 ++
 include/asm-powerpc/lmb.h |    2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: linux/arch/powerpc/mm/lmb.c
===================================================================
--- linux.orig/arch/powerpc/mm/lmb.c
+++ linux/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)
Index: linux/include/asm-powerpc/lmb.h
===================================================================
--- linux.orig/include/asm-powerpc/lmb.h
+++ linux/include/asm-powerpc/lmb.h
@@ -19,8 +19,6 @@
 
 #define MAX_LMB_REGIONS 128
 
-#define LMB_ALLOC_ANYWHERE	0
-
 struct lmb_property {
 	unsigned long base;
 	unsigned long size;



More information about the Linuxppc64-dev mailing list