sh: Fix kGDB NMI handling.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 02:37:33 +0000 (11:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 02:37:33 +0000 (11:37 +0900)
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>
arch/sh/kernel/entry.S

index a3a717a..1a05804 100644 (file)
@@ -644,7 +644,7 @@ skip_restore:
        !
 #if defined(CONFIG_KGDB_NMI)
        ! Clear in_nmi
-       mov.l   4f, k0
+       mov.l   6f, k0
        mov     #0, k1
        mov.b   k1, @k0
 #endif