]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
mips/bcm77xx: remove legacy __cpuinit sections that crept in
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 17 Jan 2015 23:49:58 +0000 (18:49 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 16 Jun 2015 18:12:22 +0000 (14:12 -0400)
We removed __cpuinit support (leaving no-op stubs) quite some time ago.
However a few more crept in as of commit 6ee1d93455384cef8a0426effe85da2
("MIPS: BCM47XX: Detect more then 128 MiB of RAM (HIGHMEM)")

Since we want to clobber the stubs soon, get this removed now.

Cc: Rafał Miłecki <zajec5@gmail.com>
Cc: linux-mips@linux-mips.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/mips/bcm47xx/prom.c
arch/mips/include/asm/pgtable-32.h
arch/mips/mm/tlb-r4k.c

index ab698bad6d627a1c29856f7c0e30e1214e781f84..135a5407f0154dcc1fb8f0a6ff5a77b6a12db449 100644 (file)
@@ -126,7 +126,7 @@ void __init prom_free_prom_memory(void)
 /* Stripped version of tlb_init, with the call to build_tlb_refill_handler
  * dropped. Calling it at this stage causes a hang.
  */
-void __cpuinit early_tlb_init(void)
+void early_tlb_init(void)
 {
        write_c0_pagemask(PM_DEFAULT_MASK);
        write_c0_wired(0);
index 7d56686c0e62402f6f27e79c88286f5081d9a812..832e2167d00f8aa9987226c8bb5868b013fc878a 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <asm-generic/pgtable-nopmd.h>
 
-extern int temp_tlb_entry __cpuinitdata;
+extern int temp_tlb_entry;
 
 /*
  * - add_temporary_entry() add a temporary TLB entry. We use TLB entries
index 08318ecb803a08611adfd0025041c16526d097e2..5037d5868cef7ef47f1baaa74dc84b7da410c7d5 100644 (file)
@@ -423,7 +423,7 @@ int __init has_transparent_hugepage(void)
  * lifetime of the system
  */
 
-int temp_tlb_entry __cpuinitdata;
+int temp_tlb_entry;
 
 __init int add_temporary_entry(unsigned long entrylo0, unsigned long entrylo1,
                               unsigned long entryhi, unsigned long pagemask)