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; |
Russell King | 8d717a5 | 2010-05-22 19:47:18 +0100 | [diff] [blame] | 12 | struct machine_desc; |
Russell King | 2778f62 | 2010-07-09 16:27:52 +0100 | [diff] [blame] | 13 | |
Russell King | 8d717a5 | 2010-05-22 19:47:18 +0100 | [diff] [blame] | 14 | extern void arm_memblock_init(struct meminfo *, struct machine_desc *); |
Russell King | 2778f62 | 2010-07-09 16:27:52 +0100 | [diff] [blame] | 15 | |
| 16 | #endif |