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>
This commit is contained in:
parent
fcbf1dfde3
commit
e3dc81f230
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue