aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2006-01-25 21:31:30 +1300
committerPaul Mackerras <paulus@samba.org>2006-02-07 22:38:36 +1100
commit3b9331dac16555e8788ae21723f2146c3f994ebb (patch)
treef9f73d6b59c7d621ec8312348065dfd6ededef3c
parentd7a5b2ffa1352f0310630934a56aecbdfb617b72 (diff)
[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>
-rw-r--r--arch/powerpc/mm/lmb.c2
-rw-r--r--include/asm-powerpc/lmb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/lmb.c b/arch/powerpc/mm/lmb.c
index d9c76ce5fa8..874cd103ce6 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)
diff --git a/include/asm-powerpc/lmb.h b/include/asm-powerpc/lmb.h
index 4fda8eaaeaf..fbb7bde8fb0 100644
--- a/include/asm-powerpc/lmb.h
+++ b/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;