Russell King | 2778f62 | 2010-07-09 16:27:52 +0100 | [diff] [blame^] | 1 | #ifndef _ASM_ARM_MEMBLOCK_H |
2 | #define _ASM_ARM_MEMBLOCK_H | ||||
3 | |||||
4 | #ifdef CONFIG_MMU | ||||
5 | extern phys_addr_t lowmem_end_addr; | ||||
6 | #define MEMBLOCK_REAL_LIMIT lowmem_end_addr | ||||
7 | #else | ||||
8 | #define MEMBLOCK_REAL_LIMIT 0 | ||||
9 | #endif | ||||
10 | |||||
11 | struct meminfo; | ||||
12 | |||||
13 | extern void arm_memblock_init(struct meminfo *); | ||||
14 | |||||
15 | #endif |