Browse Source

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>
Paul Mundt 18 years ago
parent
commit
6ae5e8d759
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/sh/kernel/entry.S

+ 1 - 1
arch/sh/kernel/entry.S

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