projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39f4490
)
sh: unbreak WARN_ON()
author
Magnus Damm
<damm@igel.co.jp>
Wed, 17 Jun 2009 04:48:20 +0000
(
04:48
+0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 17 Jun 2009 06:39:52 +0000
(15:39 +0900)
Fix WARN_ON() by modifying the bug trap handling code to
always return in the in-kernel instruction pointer case.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/traps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/traps.c
b/arch/sh/kernel/traps.c
index 46348ed07cc35cde3b5120099bfd842d1ac0b7cd..b3e0067db3583006753fb70203993eda80a439a3 100644
(file)
--- a/
arch/sh/kernel/traps.c
+++ b/
arch/sh/kernel/traps.c
@@
-69,6
+69,7
@@
BUILD_TRAP_HANDLER(bug)
insn_size_t insn = *(insn_size_t *)instruction_pointer(regs);
if (insn == TRAPA_BUG_OPCODE)
handle_BUG(regs);
+ return;
}
#endif