MIPS: Make set_handler() __cpuinit.
authorDavid Daney <david.daney@cavium.com>
Tue, 15 May 2012 07:04:47 +0000 (00:04 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 16 May 2012 21:34:33 +0000 (23:34 +0200)
Follow-on patches require this.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3818/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c

index ed46c2b..2432578 100644 (file)
@@ -1632,7 +1632,7 @@ void __cpuinit per_cpu_trap_init(void)
 }
 
 /* Install CPU exception handler */
-void __init set_handler(unsigned long offset, void *addr, unsigned long size)
+void __cpuinit set_handler(unsigned long offset, void *addr, unsigned long size)
 {
        memcpy((void *)(ebase + offset), addr, size);
        local_flush_icache_range(ebase + offset, ebase + offset + size);