diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-09 17:27:52 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-27 09:48:22 +0200 |
commit | 2778f62056ada442414392d7ccd41188bb631619 (patch) | |
tree | a7c15cc7ca077e5e4c2161f5062c44e408c03a08 /arch/arm/include/asm/memblock.h | |
parent | ARM: early_pte_alloc() (diff) | |
download | linux-2778f62056ada442414392d7ccd41188bb631619.tar.xz linux-2778f62056ada442414392d7ccd41188bb631619.zip |
ARM: initial LMB trial
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/memblock.h')
-rw-r--r-- | arch/arm/include/asm/memblock.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/include/asm/memblock.h b/arch/arm/include/asm/memblock.h new file mode 100644 index 000000000000..3a1d58096f44 --- /dev/null +++ b/arch/arm/include/asm/memblock.h @@ -0,0 +1,15 @@ +#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; + +extern void arm_memblock_init(struct meminfo *); + +#endif |