Skip to content

Commit

Permalink
MN10300: Allow misalignment fixup in interrupt handling
Browse files Browse the repository at this point in the history
Allow misalignment fixup in interrupt handling in the MN10300 arch.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
David Howells authored and Linus Torvalds committed Nov 12, 2008
1 parent f911c68 commit aefefbb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/mn10300/mm/misalignment.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,6 @@ asmlinkage void misalignment(struct pt_regs *regs, enum exception_code code)

kdebug("==>misalignment({pc=%lx})", regs->pc);

if (in_interrupt())
die("Misalignment trap in interrupt context", regs, code);

if (regs->epsw & EPSW_IE)
asm volatile("or %0,epsw" : : "i"(EPSW_IE));

Expand Down

0 comments on commit aefefbb

Please sign in to comment.