Skip to contentSkip to conversation

sparc64: fix the build error due to smp_kgdb_capture_client()

PATCH Applied Dongdong Deng 2 participants 2 messages Jun 17, 2010 – Jun 25, 2010 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc64: fix the build error due to smp_kgdb_capture_client()

---
 arch/sparc/kernel/ttable.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/kernel/ttable.S +1 -1
index 76d837f..c6dfdaa 100644
@@ -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)
Signature · 1 line
1.6.0.4