projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dcb957
)
sh: Fix up bug trap handler build for sh32.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 23 Nov 2007 05:02:20 +0000
(14:02 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:56 +0000
(13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/system.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-sh/system.h
b/include/asm-sh/system.h
index 6b02dfd587eaffa42f9417a69145d4fc944b94e8..8b01fc4a56afb8ff0e743034e9135ff715cb4fb6 100644
(file)
--- 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, \
#define TRAP_HANDLER_DECL \
struct pt_regs *regs = RELOC_HIDE(&__regs, 0); \
- unsigned int vec = regs->tra;
+ unsigned int vec = regs->tra; \
+ (void)vec;
#else
#define BUILD_TRAP_HANDLER(name) \
asmlinkage void name##_trap_handler(unsigned int vec, struct pt_regs *regs)