Commit e3dc81f2 authored by David Daney's avatar David Daney Committed by Ralf Baechle

MIPS: Make set_handler() __cpuinit.

Follow-on patches require this.
Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3818/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent fcbf1dfd
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment