diff options
author | Olof Johansson <olof@lixom.net> | 2011-12-15 21:21:08 -0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2011-12-15 21:21:08 -0800 |
commit | 705eb64e2ed78c63b9e2b6002b029ce8710ff7cf (patch) | |
tree | e4ad7ad6ce919dcc59460b89dfe63e9d2ff9bc63 /arch/arm/mm/nommu.c | |
parent | dc47ce90c3a822cd7c9e9339fe4d5f61dcb26b50 (diff) | |
parent | f36217f3a5b5b945619192c033c2785007931e49 (diff) |
Merge branch 'musb' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into omap/musb
Diffstat (limited to 'arch/arm/mm/nommu.c')
-rw-r--r-- | arch/arm/mm/nommu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index 941a98c9e8aa..4fc6794cca4b 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c @@ -29,6 +29,8 @@ void __init arm_mm_memblock_reserve(void) void __init sanity_check_meminfo(void) { + phys_addr_t end = bank_phys_end(&meminfo.bank[meminfo.nr_banks - 1]); + high_memory = __va(end - 1) + 1; } /* @@ -43,7 +45,7 @@ void __init paging_init(struct machine_desc *mdesc) /* * We don't need to do anything here for nommu machines. */ -void setup_mm_for_reboot(char mode) +void setup_mm_for_reboot(void) { } |