mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
edc164d18f
Now that we have a proper variable that is the address of the top of low memory we can use it to limit the lmb allocations. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
16 lines
286 B
C
16 lines
286 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 phys_addr_t lowmem_end_addr;
|
|
#define LMB_REAL_LIMIT lowmem_end_addr
|
|
#else
|
|
#define LMB_REAL_LIMIT 0
|
|
#endif
|
|
|
|
#endif /* _ASM_POWERPC_LMB_H */
|