diff options
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 941a98c9e8a..4fc6794cca4 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c | |||
@@ -29,6 +29,8 @@ void __init arm_mm_memblock_reserve(void) | |||
29 | 29 | ||
30 | void __init sanity_check_meminfo(void) | 30 | void __init sanity_check_meminfo(void) |
31 | { | 31 | { |
32 | phys_addr_t end = bank_phys_end(&meminfo.bank[meminfo.nr_banks - 1]); | ||
33 | high_memory = __va(end - 1) + 1; | ||
32 | } | 34 | } |
33 | 35 | ||
34 | /* | 36 | /* |
@@ -43,7 +45,7 @@ void __init paging_init(struct machine_desc *mdesc) | |||
43 | /* | 45 | /* |
44 | * We don't need to do anything here for nommu machines. | 46 | * We don't need to do anything here for nommu machines. |
45 | */ | 47 | */ |
46 | void setup_mm_for_reboot(char mode) | 48 | void setup_mm_for_reboot(void) |
47 | { | 49 | { |
48 | } | 50 | } |
49 | 51 | ||