From: Florian Fainelli Date: Thu, 28 Jan 2010 14:21:42 +0000 (+0100) Subject: MIPS: Annotate set_except_vector with __init X-Git-Tag: v2.6.34-rc1~269^2~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d1b6e95515d63030b6e002125799f2aa52a9d27;p=platform%2Fkernel%2Flinux-exynos.git MIPS: Annotate set_except_vector with __init All call sites of set_except_vector are already annotated with __init, so annotate that one too. Signed-off-by: Regards, Florian Fainelli To: linux-mips@linux-mips.org To: David Daney Patchwork: http://patchwork.linux-mips.org/patch/888/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 31b204b..b417e27 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -1276,7 +1276,7 @@ unsigned long vi_handlers[64]; * to interrupt handlers in the address range from * KSEG0 <= x < KSEG0 + 256mb on the Nevada. Oh well ... */ -void *set_except_vector(int n, void *addr) +void __init *set_except_vector(int n, void *addr) { unsigned long handler = (unsigned long) addr; unsigned long old_handler = exception_handlers[n];