sh: Fix in_nmi symbol build error.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 4 Jun 2007 01:39:50 +0000 (10:39 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 4 Jun 2007 01:39:50 +0000 (10:39 +0900)
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>
arch/sh/kernel/cpu/sh3/entry.S

index 659cc081e5e701f5d155bf72e9cd297f93a42524..b0b59d4a33ca8ada675d624481d76b1708c9a4fc 100644 (file)
@@ -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