summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/mm/misalignment.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2008-11-12 15:35:25 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-12 10:41:17 -0800
commitaefefbbec1ad25bafa97a7a1db25313ce26563e2 (patch)
tree52f7d47b3190f6e2622ab851447a8bd99348ab3b /arch/mn10300/mm/misalignment.c
parentf911c685d65ea1855eb3f95b8eaf871e5d9342fa (diff)
downloadop-kernel-dev-aefefbbec1ad25bafa97a7a1db25313ce26563e2.zip
op-kernel-dev-aefefbbec1ad25bafa97a7a1db25313ce26563e2.tar.gz
MN10300: Allow misalignment fixup in interrupt handling
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>
Diffstat (limited to 'arch/mn10300/mm/misalignment.c')
-rw-r--r--arch/mn10300/mm/misalignment.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mn10300/mm/misalignment.c b/arch/mn10300/mm/misalignment.c
index 066ddc6..05a3c2f 100644
--- a/arch/mn10300/mm/misalignment.c
+++ b/arch/mn10300/mm/misalignment.c
@@ -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));
OpenPOWER on IntegriCloud