blob: 028184b6a16244954dabcc45a256fe3bb0cf649e [file] [log] [blame]
Becky Bruce1ac9f1f2007-08-15 04:45:44 +10001#ifndef _ASM_POWERPC_LMB_H
2#define _ASM_POWERPC_LMB_H
Paul Mackerras9b6b5632005-10-06 12:06:20 +10003
David S. Millerd9b2b2a2008-02-13 16:56:49 -08004#include <asm/udbg.h>
Paul Mackerras9b6b5632005-10-06 12:06:20 +10005
David S. Millerd9b2b2a2008-02-13 16:56:49 -08006#define LMB_DBG(fmt...) udbg_printf(fmt)
Paul Mackerras9b6b5632005-10-06 12:06:20 +10007
David S. Millerd9b2b2a2008-02-13 16:56:49 -08008#ifdef CONFIG_PPC32
9extern unsigned long __max_low_memory;
10#define LMB_REAL_LIMIT __max_low_memory
11#else
12#define LMB_REAL_LIMIT 0
13#endif
Paul Mackerras9b6b5632005-10-06 12:06:20 +100014
Becky Bruce1ac9f1f2007-08-15 04:45:44 +100015#endif /* _ASM_POWERPC_LMB_H */