Skip to content

Commit

Permalink
sh: Fix kGDB NMI handling.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Sep 27, 2006
1 parent 1c5f8f8 commit 6ae5e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ae5e8d

Please sign in to comment.