void MMU_init(void);
 
-int __map_without_ltlbs;
-
 /* max amount of low RAM to map in */
 unsigned long __max_low_memory = MAX_LOW_MEM;
 
-/*
- * Check for command-line options that affect what MMU_init will do.
- */
-static void __init MMU_setup(void)
-{
-       if (IS_ENABLED(CONFIG_PPC_8xx))
-               return;
-
-       if (IS_ENABLED(CONFIG_KFENCE))
-               __map_without_ltlbs = 1;
-
-       if (debug_pagealloc_enabled())
-               __map_without_ltlbs = 1;
-
-       if (strict_kernel_rwx_enabled())
-               __map_without_ltlbs = 1;
-}
-
 /*
  * MMU_init sets up the basic memory mappings for the kernel,
  * including both RAM and possibly some I/O regions,
        if (ppc_md.progress)
                ppc_md.progress("MMU:enter", 0x111);
 
-       /* parse args from command line */
-       MMU_setup();
-
        /*
         * Reserve gigantic pages for hugetlb.  This MUST occur before
         * lowmem_end_addr is initialized below.
 
 
 #include <mm/mmu_decl.h>
 
-extern int __map_without_ltlbs;
 /*
  * MMU_init_hw does the chip-specific initialization of the MMU hardware.
  */
        p = 0;
        s = total_lowmem;
 
-       if (__map_without_ltlbs)
+       if (IS_ENABLED(CONFIG_KFENCE))
+               return 0;
+
+       if (debug_pagealloc_enabled())
+               return 0;
+
+       if (strict_kernel_rwx_enabled())
                return 0;
 
        while (s >= LARGE_PAGE_SIZE_16M) {