2010-07-09 23:27:52 +08:00
|
|
|
#ifndef _ASM_ARM_MEMBLOCK_H
|
|
|
|
#define _ASM_ARM_MEMBLOCK_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_MMU
|
|
|
|
extern phys_addr_t lowmem_end_addr;
|
|
|
|
#define MEMBLOCK_REAL_LIMIT lowmem_end_addr
|
|
|
|
#else
|
|
|
|
#define MEMBLOCK_REAL_LIMIT 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct meminfo;
|
2010-05-23 02:47:18 +08:00
|
|
|
struct machine_desc;
|
2010-07-09 23:27:52 +08:00
|
|
|
|
2010-05-23 02:47:18 +08:00
|
|
|
extern void arm_memblock_init(struct meminfo *, struct machine_desc *);
|
2010-07-09 23:27:52 +08:00
|
|
|
|
|
|
|
#endif
|