diff options
author | Michal Simek <monstr@monstr.eu> | 2011-02-07 05:36:25 -0500 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-03-09 02:09:58 -0500 |
commit | f699980b0d3c0f4f31e07ef45a48bbe860510a89 (patch) | |
tree | d53d73cd4c52b0a21f0c7f6cd0a461fa6ed1b038 /arch/microblaze/include/asm | |
parent | 29e3dbb10f0efff1297026679364dacc2c822145 (diff) |
microblaze: Fix sparse warning - sw_exceptions
Function sw_exception is linked with asm code.
Warning log:
CHECK arch/microblaze/kernel/exceptions.c
arch/microblaze/kernel/exceptions.c:53:6: warning: symbol 'sw_exception' was not declared. Should it be static?
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm')
-rw-r--r-- | arch/microblaze/include/asm/exceptions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/exceptions.h b/arch/microblaze/include/asm/exceptions.h index 6479097b802b..23c0f71db8e3 100644 --- a/arch/microblaze/include/asm/exceptions.h +++ b/arch/microblaze/include/asm/exceptions.h | |||
@@ -66,6 +66,8 @@ | |||
66 | asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, | 66 | asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, |
67 | int fsr, int addr); | 67 | int fsr, int addr); |
68 | 68 | ||
69 | asmlinkage void sw_exception(struct pt_regs *regs); | ||
70 | |||
69 | void die(const char *str, struct pt_regs *fp, long err); | 71 | void die(const char *str, struct pt_regs *fp, long err); |
70 | void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr); | 72 | void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr); |
71 | 73 | ||