提交 2d1b6e95 编写于 作者: F Florian Fainelli 提交者: Ralf Baechle

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: NRegards, Florian Fainelli <florian@openwrt.org>
To: linux-mips@linux-mips.org
To: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/888/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 3482d713
...@@ -1276,7 +1276,7 @@ unsigned long vi_handlers[64]; ...@@ -1276,7 +1276,7 @@ unsigned long vi_handlers[64];
* to interrupt handlers in the address range from * to interrupt handlers in the address range from
* KSEG0 <= x < KSEG0 + 256mb on the Nevada. Oh well ... * 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 handler = (unsigned long) addr;
unsigned long old_handler = exception_handlers[n]; unsigned long old_handler = exception_handlers[n];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册