summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDongdong Deng <dongdong.deng@windriver.com>2010-06-25 20:17:57 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-25 20:17:57 +0200
commit43bc2db47292a824152145253b1dd2847e7312a3 (patch)
tree435b438e3cc06258211b52e56e03aaf02eec04e8 /arch
parentsparc64: Fix maybe_change_configuration() PCR setting. (diff)
downloadlinux-43bc2db47292a824152145253b1dd2847e7312a3.tar.xz
linux-43bc2db47292a824152145253b1dd2847e7312a3.zip
sparc64: fix the build error due to smp_kgdb_capture_client()
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/kernel/ttable.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/ttable.S b/arch/sparc/kernel/ttable.S
index 76d837fc47d3..c6dfdaa29e20 100644
--- a/arch/sparc/kernel/ttable.S
+++ b/arch/sparc/kernel/ttable.S
@@ -64,7 +64,7 @@ tl0_irq6: TRAP_IRQ(smp_call_function_single_client, 6)
tl0_irq6: BTRAP(0x46)
#endif
tl0_irq7: TRAP_IRQ(deferred_pcr_work_irq, 7)
-#ifdef CONFIG_KGDB
+#if defined(CONFIG_KGDB) && defined(CONFIG_SMP)
tl0_irq8: TRAP_IRQ(smp_kgdb_capture_client, 8)
#else
tl0_irq8: BTRAP(0x48)