diff options
-rw-r--r-- | arch/xtensa/kernel/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/traps.c b/arch/xtensa/kernel/traps.c index c5e62f9d9f50..8be99c777d9d 100644 --- a/arch/xtensa/kernel/traps.c +++ b/arch/xtensa/kernel/traps.c | |||
@@ -83,7 +83,7 @@ typedef struct { | |||
83 | void* handler; | 83 | void* handler; |
84 | } dispatch_init_table_t; | 84 | } dispatch_init_table_t; |
85 | 85 | ||
86 | dispatch_init_table_t __init dispatch_init_table[] = { | 86 | static dispatch_init_table_t __initdata dispatch_init_table[] = { |
87 | 87 | ||
88 | { EXCCAUSE_ILLEGAL_INSTRUCTION, 0, do_illegal_instruction}, | 88 | { EXCCAUSE_ILLEGAL_INSTRUCTION, 0, do_illegal_instruction}, |
89 | { EXCCAUSE_SYSTEM_CALL, KRNL, fast_syscall_kernel }, | 89 | { EXCCAUSE_SYSTEM_CALL, KRNL, fast_syscall_kernel }, |
@@ -305,7 +305,7 @@ do_debug(struct pt_regs *regs) | |||
305 | 305 | ||
306 | #define set_handler(idx,handler) (exc_table[idx] = (unsigned long) (handler)) | 306 | #define set_handler(idx,handler) (exc_table[idx] = (unsigned long) (handler)) |
307 | 307 | ||
308 | void trap_init(void) | 308 | void __init trap_init(void) |
309 | { | 309 | { |
310 | int i; | 310 | int i; |
311 | 311 | ||