Skip to content

Commit

Permalink
sh: Fix in_nmi symbol build error.
Browse files Browse the repository at this point in the history
If CONFIG_KGDB_NMI is disabled, we're left with a stray in_nmi
reference that can't be resolved. Move the symbol under the ifdef,
too.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jun 4, 2007
1 parent c1a13ff commit c596b1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/sh/kernel/cpu/sh3/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,9 @@ skip_restore:

.align 2
5: .long 0x00001000 ! DSP
#ifdef CONFIG_KGDB_NMI
6: .long in_nmi
#endif
7: .long 0x30000000

! common exception handler
Expand Down

0 comments on commit c596b1a

Please sign in to comment.