[POWERPC] Use lowmem_end_addr to limit lmb allocations on ppc32
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-powerpc / lmb.h
blob6f5fdf0a19ae6e3cfc9e5490ced23720763dfd53
1 #ifndef _ASM_POWERPC_LMB_H
2 #define _ASM_POWERPC_LMB_H
4 #include <asm/udbg.h>
6 #define LMB_DBG(fmt...) udbg_printf(fmt)
8 #ifdef CONFIG_PPC32
9 extern phys_addr_t lowmem_end_addr;
10 #define LMB_REAL_LIMIT lowmem_end_addr
11 #else
12 #define LMB_REAL_LIMIT 0
13 #endif
15 #endif /* _ASM_POWERPC_LMB_H */