Skip to content

Commit

Permalink
[PATCH] powerpc: Move LMB_ALLOC_ANYWHERE out of lmb.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Ellerman authored and Paul Mackerras committed Feb 7, 2006
1 parent d7a5b2f commit 3b9331d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/mm/lmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#define DBG(fmt...)
#endif

#define LMB_ALLOC_ANYWHERE 0

struct lmb lmb;

void lmb_dump_all(void)
Expand Down
2 changes: 0 additions & 2 deletions include/asm-powerpc/lmb.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@

#define MAX_LMB_REGIONS 128

#define LMB_ALLOC_ANYWHERE 0

struct lmb_property {
unsigned long base;
unsigned long size;
Expand Down

0 comments on commit 3b9331d

Please sign in to comment.