MIPS: c-r4k: Remove legacy __cpuinit section that crept in
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 27 Apr 2015 22:47:57 +0000 (18:47 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:53:44 +0000 (21:53 +0200)
We removed __cpuinit support (leaving no-op stubs) quite some time ago.
However a new instance was added in commit 4caa906ee949b7002cc1558bbe3744
("MIPS: mm: c-r4k: Build EVA {d,i}cache flushing functions")

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

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/9893/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c

index 2e03ab1735911d202ce82c97b4911b5c1002ed70..7f660dc67596e625cd65dc9f0980735d321a05dc 100644 (file)
@@ -295,7 +295,7 @@ static void r4k_blast_icache_page_setup(void)
 
 static void (*r4k_blast_icache_user_page)(unsigned long addr);
 
-static void __cpuinit r4k_blast_icache_user_page_setup(void)
+static void r4k_blast_icache_user_page_setup(void)
 {
        unsigned long ic_lsize = cpu_icache_line_size();