sparc64: fix the build error due to smp_kgdb_capture_client()
authorDongdong Deng <dongdong.deng@windriver.com>
Fri, 25 Jun 2010 18:17:57 +0000 (11:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Jun 2010 18:17:57 +0000 (11:17 -0700)
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ttable.S

index 76d837fc47d3fdd498c0b2fdb276c9b25abe1c0b..c6dfdaa29e208994fab3b1942cd24878d0bd2d98 100644 (file)
@@ -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)