aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/init.c')
-rw-r--r--arch/powerpc/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/init.c b/arch/powerpc/mm/init.c
index f4d983a6e52..3a81ef15c67 100644
--- a/arch/powerpc/mm/init.c
+++ b/arch/powerpc/mm/init.c
@@ -239,7 +239,7 @@ void __init MMU_init(void)
if (boot_mem_size)
total_memory = boot_mem_size;
else
- total_memory = ppc_md.find_end_of_memory();
+ total_memory = find_end_of_memory();
if (__max_memory && total_memory > __max_memory)
total_memory = __max_memory;