summaryrefslogtreecommitdiff
path: root/arch/arm/mm/nommu.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2011-12-15 21:21:08 -0800
committerOlof Johansson <olof@lixom.net>2011-12-15 21:21:08 -0800
commit705eb64e2ed78c63b9e2b6002b029ce8710ff7cf (patch)
treee4ad7ad6ce919dcc59460b89dfe63e9d2ff9bc63 /arch/arm/mm/nommu.c
parentdc47ce90c3a822cd7c9e9339fe4d5f61dcb26b50 (diff)
parentf36217f3a5b5b945619192c033c2785007931e49 (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.c4
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)
{
}