diff options
author | David Daney <david.daney@cavium.com> | 2012-05-15 00:04:47 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-05-16 23:34:33 +0200 |
commit | e3dc81f2306e650f01e38ec87e24c3fecb843dc3 (patch) | |
tree | 71300e567e0c1f6c8fe4499d56dc9a4465b7cb44 /arch/mips/kernel/traps.c | |
parent | fcbf1dfde3da728144222930ae592acb06e92c7c (diff) |
MIPS: Make set_handler() __cpuinit.
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>
Diffstat (limited to 'arch/mips/kernel/traps.c')
-rw-r--r-- | arch/mips/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index ed46c2b6354..24325780f83 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -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); |