فهرست منبع

[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>
Michael Ellerman 19 سال پیش
والد
کامیت
3b9331dac1
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 0
      arch/powerpc/mm/lmb.c
  2. 0 2
      include/asm-powerpc/lmb.h

+ 2 - 0
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)

+ 0 - 2
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;