projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3482d71
)
MIPS: Annotate set_except_vector with __init
author
Florian Fainelli
<
[email protected]
>
Thu, 28 Jan 2010 14:21:42 +0000
(15:21 +0100)
committer
Ralf Baechle
<
[email protected]
>
Sat, 27 Feb 2010 11:53:19 +0000
(12:53 +0100)
All call sites of set_except_vector are already annotated with __init, so
annotate that one too.
Signed-off-by: Regards, Florian Fainelli <
[email protected]
>
To:
[email protected]
To: David Daney <
[email protected]
>
Patchwork: http://patchwork.linux-mips.org/patch/888/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/traps.c
b/arch/mips/kernel/traps.c
index 31b204b26ba08915e647369fbe6c3c0930a7642e..b417e2727050bc6239b24c7a87e4768662c1d8f1 100644
(file)
--- 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];