aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-sh/system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sh/system.h b/include/asm-sh/system.h
index 6b02dfd587ea..8b01fc4a56af 100644
--- a/include/asm-sh/system.h
+++ b/include/asm-sh/system.h
@@ -194,7 +194,8 @@ asmlinkage void name##_trap_handler(unsigned long r4, unsigned long r5, \
194 194
195#define TRAP_HANDLER_DECL \ 195#define TRAP_HANDLER_DECL \
196 struct pt_regs *regs = RELOC_HIDE(&__regs, 0); \ 196 struct pt_regs *regs = RELOC_HIDE(&__regs, 0); \
197 unsigned int vec = regs->tra; 197 unsigned int vec = regs->tra; \
198 (void)vec;
198#else 199#else
199#define BUILD_TRAP_HANDLER(name) \ 200#define BUILD_TRAP_HANDLER(name) \
200asmlinkage void name##_trap_handler(unsigned int vec, struct pt_regs *regs) 201asmlinkage void name##_trap_handler(unsigned int vec, struct pt_regs *regs)