aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-26 22:37:33 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-26 22:37:33 -0400
commit6ae5e8d7598ce01ac0e7dab1b89894c7386a2e61 (patch)
tree03061d388b9cee2dc8140afe3d9fca71f75c4268 /arch
parent1c5f8f85df96dd7c17d63eed2d7da18b3ad00b6d (diff)
sh: Fix kGDB NMI handling.
in_nmi shifted down a few labels, so we were inadvertently clearing the lower byte of do_syscall_trace, badness ensues. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/kernel/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/entry.S b/arch/sh/kernel/entry.S
index a3a717adbf43..1a05804caf37 100644
--- a/arch/sh/kernel/entry.S
+++ b/arch/sh/kernel/entry.S
@@ -644,7 +644,7 @@ skip_restore:
644 ! 644 !
645#if defined(CONFIG_KGDB_NMI) 645#if defined(CONFIG_KGDB_NMI)
646 ! Clear in_nmi 646 ! Clear in_nmi
647 mov.l 4f, k0 647 mov.l 6f, k0
648 mov #0, k1 648 mov #0, k1
649 mov.b k1, @k0 649 mov.b k1, @k0
650#endif 650#endif