Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);