diff options
author | David Howells <dhowells@redhat.com> | 2008-11-12 10:35:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-12 13:41:17 -0500 |
commit | aefefbbec1ad25bafa97a7a1db25313ce26563e2 (patch) | |
tree | 52f7d47b3190f6e2622ab851447a8bd99348ab3b /arch | |
parent | f911c685d65ea1855eb3f95b8eaf871e5d9342fa (diff) |
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')
-rw-r--r-- | arch/mn10300/mm/misalignment.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mn10300/mm/misalignment.c b/arch/mn10300/mm/misalignment.c index 066ddc625a14..05a3c2f8d2df 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) | |||
314 | 314 | ||
315 | kdebug("==>misalignment({pc=%lx})", regs->pc); | 315 | kdebug("==>misalignment({pc=%lx})", regs->pc); |
316 | 316 | ||
317 | if (in_interrupt()) | ||
318 | die("Misalignment trap in interrupt context", regs, code); | ||
319 | |||
320 | if (regs->epsw & EPSW_IE) | 317 | if (regs->epsw & EPSW_IE) |
321 | asm volatile("or %0,epsw" : : "i"(EPSW_IE)); | 318 | asm volatile("or %0,epsw" : : "i"(EPSW_IE)); |
322 | 319 | ||