]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - arch/x86/kernel/trampoline.c
x86-32, mm: Add an initial page table for core bootstrapping
[~shefty/rdma-dev.git] / arch / x86 / kernel / trampoline.c
index e2a5952573905b2eeac3d18060be54532dbfdfde..f1488a344cd6ace65815b61f7e7348fd4f03c2f2 100644 (file)
@@ -38,19 +38,3 @@ unsigned long __trampinit setup_trampoline(void)
        memcpy(trampoline_base, trampoline_data, TRAMPOLINE_SIZE);
        return virt_to_phys(trampoline_base);
 }
-
-void __init setup_trampoline_page_table(void)
-{
-#ifdef CONFIG_X86_32
-       /* Copy kernel address range */
-       clone_pgd_range(trampoline_pg_dir + KERNEL_PGD_BOUNDARY,
-                       swapper_pg_dir + KERNEL_PGD_BOUNDARY,
-                       KERNEL_PGD_PTRS);
-
-       /* Initialize low mappings */
-       clone_pgd_range(trampoline_pg_dir,
-                       swapper_pg_dir + KERNEL_PGD_BOUNDARY,
-                       min_t(unsigned long, KERNEL_PGD_PTRS,
-                             KERNEL_PGD_BOUNDARY));
-#endif
-}