linux/include/asm-powerpc/lmb.h
David S. Miller d9b2b2a277 [LIB]: Make PowerPC LMB code generic so sparc64 can use it too.
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-02-13 16:56:49 -08:00

16 lines
290 B
C

#ifndef _ASM_POWERPC_LMB_H
#define _ASM_POWERPC_LMB_H
#include <asm/udbg.h>
#define LMB_DBG(fmt...) udbg_printf(fmt)
#ifdef CONFIG_PPC32
extern unsigned long __max_low_memory;
#define LMB_REAL_LIMIT __max_low_memory
#else
#define LMB_REAL_LIMIT 0
#endif
#endif /* _ASM_POWERPC_LMB_H */