aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/init_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/init_32.c')
-rw-r--r--arch/powerpc/mm/init_32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c
index aa6a5440cec1..8dd1f7d0e23c 100644
--- a/arch/powerpc/mm/init_32.c
+++ b/arch/powerpc/mm/init_32.c
@@ -154,10 +154,13 @@ void __init MMU_init(void)
154 * in the fixed entries */ 154 * in the fixed entries */
155 adjust_total_lowmem(); 155 adjust_total_lowmem();
156#endif /* CONFIG_FSL_BOOKE */ 156#endif /* CONFIG_FSL_BOOKE */
157
157 if (total_lowmem > __max_low_memory) { 158 if (total_lowmem > __max_low_memory) {
158 total_lowmem = __max_low_memory; 159 total_lowmem = __max_low_memory;
159#ifndef CONFIG_HIGHMEM 160#ifndef CONFIG_HIGHMEM
160 total_memory = total_lowmem; 161 total_memory = total_lowmem;
162 lmb_enforce_memory_limit(total_lowmem);
163 lmb_analyze();
161#endif /* CONFIG_HIGHMEM */ 164#endif /* CONFIG_HIGHMEM */
162 } 165 }
163 166