]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/powerpc/mm/pgtable-radix.c
powerpc/mm: Move register_process_table() out of ppc_md
[linux.git] / arch / powerpc / mm / pgtable-radix.c
index f34ccdbe0fbdf354853fd74d31874ec7a58306dc..af897d91d09f4929c06b09aadf5b67d829f13ea9 100644 (file)
@@ -171,7 +171,7 @@ static void __init radix_init_pgtable(void)
         * of process table here. But our linear mapping also enable us to use
         * physical address here.
         */
-       ppc_md.register_process_table(__pa(process_tb), 0, PRTB_SIZE_SHIFT - 12);
+       register_process_table(__pa(process_tb), 0, PRTB_SIZE_SHIFT - 12);
        pr_info("Process table %p and radix root for kernel: %p\n", process_tb, init_mm.pgd);
 }
 
@@ -198,7 +198,7 @@ static void __init radix_init_partition_table(void)
 
 void __init radix_init_native(void)
 {
-       ppc_md.register_process_table = native_register_process_table;
+       register_process_table = native_register_process_table;
 }
 
 static int __init get_idx_from_shift(unsigned int shift)