diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-06-03 21:39:50 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-06-03 21:39:50 -0400 |
commit | c596b1a38085a041464b9b2c0c200e81ff695634 (patch) | |
tree | a6f08355b114d7e5812950ff4741d45ea45f0083 /arch/sh/kernel | |
parent | c1a13ff57ab1ce52a0aae9984594dbfcfbaf68c0 (diff) |
sh: Fix in_nmi symbol build error.
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>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/cpu/sh3/entry.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh3/entry.S b/arch/sh/kernel/cpu/sh3/entry.S index 659cc081e5e7..b0b59d4a33ca 100644 --- a/arch/sh/kernel/cpu/sh3/entry.S +++ b/arch/sh/kernel/cpu/sh3/entry.S | |||
@@ -320,7 +320,9 @@ skip_restore: | |||
320 | 320 | ||
321 | .align 2 | 321 | .align 2 |
322 | 5: .long 0x00001000 ! DSP | 322 | 5: .long 0x00001000 ! DSP |
323 | #ifdef CONFIG_KGDB_NMI | ||
323 | 6: .long in_nmi | 324 | 6: .long in_nmi |
325 | #endif | ||
324 | 7: .long 0x30000000 | 326 | 7: .long 0x30000000 |
325 | 327 | ||
326 | ! common exception handler | 328 | ! common exception handler |