提交 aefefbbe 编写于 作者: D David Howells 提交者: Linus Torvalds

MN10300: Allow misalignment fixup in interrupt handling

Allow misalignment fixup in interrupt handling in the MN10300 arch.
Signed-off-by: NDavid Howells <dhowells@redhat.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 f911c685
...@@ -314,9 +314,6 @@ asmlinkage void misalignment(struct pt_regs *regs, enum exception_code code) ...@@ -314,9 +314,6 @@ asmlinkage void misalignment(struct pt_regs *regs, enum exception_code code)
kdebug("==>misalignment({pc=%lx})", regs->pc); kdebug("==>misalignment({pc=%lx})", regs->pc);
if (in_interrupt())
die("Misalignment trap in interrupt context", regs, code);
if (regs->epsw & EPSW_IE) if (regs->epsw & EPSW_IE)
asm volatile("or %0,epsw" : : "i"(EPSW_IE)); asm volatile("or %0,epsw" : : "i"(EPSW_IE));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册