diff options
Diffstat (limited to 'arch/ppc/mm/init.c')
-rw-r--r-- | arch/ppc/mm/init.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/ppc/mm/init.c b/arch/ppc/mm/init.c index dd898d32480e..7444df3889c5 100644 --- a/arch/ppc/mm/init.c +++ b/arch/ppc/mm/init.c | |||
@@ -241,12 +241,6 @@ void __init MMU_init(void) | |||
241 | if (__max_memory && total_memory > __max_memory) | 241 | if (__max_memory && total_memory > __max_memory) |
242 | total_memory = __max_memory; | 242 | total_memory = __max_memory; |
243 | total_lowmem = total_memory; | 243 | total_lowmem = total_memory; |
244 | #ifdef CONFIG_FSL_BOOKE | ||
245 | /* Freescale Book-E parts expect lowmem to be mapped by fixed TLB | ||
246 | * entries, so we need to adjust lowmem to match the amount we can map | ||
247 | * in the fixed entries */ | ||
248 | adjust_total_lowmem(); | ||
249 | #endif /* CONFIG_FSL_BOOKE */ | ||
250 | if (total_lowmem > __max_low_memory) { | 244 | if (total_lowmem > __max_low_memory) { |
251 | total_lowmem = __max_low_memory; | 245 | total_lowmem = __max_low_memory; |
252 | #ifndef CONFIG_HIGHMEM | 246 | #ifndef CONFIG_HIGHMEM |