浏览代码

[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...)
 #define DBG(fmt...)
 #endif
 #endif
 
 
+#define LMB_ALLOC_ANYWHERE	0
+
 struct lmb lmb;
 struct lmb lmb;
 
 
 void lmb_dump_all(void)
 void lmb_dump_all(void)

+ 0 - 2
include/asm-powerpc/lmb.h

@@ -19,8 +19,6 @@
 
 
 #define MAX_LMB_REGIONS 128
 #define MAX_LMB_REGIONS 128
 
 
-#define LMB_ALLOC_ANYWHERE	0
-
 struct lmb_property {
 struct lmb_property {
 	unsigned long base;
 	unsigned long base;
 	unsigned long size;
 	unsigned long size;