]> err.no Git - linux-2.6/commitdiff
[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 d9c76ce5fa8f6a4510a2e9b4813ccb66ddfed87a..874cd103ce6ea2e4303d3007620a3169010de994 100644 (file)
@@ -31,6 +31,8 @@
 #define DBG(fmt...)
 #endif
 
+#define LMB_ALLOC_ANYWHERE     0
+
 struct lmb lmb;
 
 void lmb_dump_all(void)
index 4fda8eaaeaf4e86054487af65522717b02d1bd7f..fbb7bde8fb0bc63406dd75a573ab484114fce50e 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;