diff mbox

sparc64: fix the build error due to smp_kgdb_capture_client()

Message ID 1276757906-8514-1-git-send-email-dongdong.deng@windriver.com
State Accepted
Delegated to: David Miller
Headers show

Commit Message

Dongdong Deng June 17, 2010, 6:58 a.m. UTC
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
---
 arch/sparc/kernel/ttable.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

David Miller June 25, 2010, 6:18 p.m. UTC | #1
From: Dongdong Deng <dongdong.deng@windriver.com>
Date: Thu, 17 Jun 2010 14:58:26 +0800

> Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>

Applied, thanks a lot!
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/sparc/kernel/ttable.S b/arch/sparc/kernel/ttable.S
index 76d837f..c6dfdaa 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)