Patchwork sparc64: fix the build error due to smp_kgdb_capture_client()

login
register
mail settings
Submitter Dongdong Deng
Date June 17, 2010, 6:58 a.m.
Message ID <1276757906-8514-1-git-send-email-dongdong.deng@windriver.com>
Download mbox | patch
Permalink /patch/55975/
State Accepted
Delegated to: David Miller
Headers show

Comments

Dongdong Deng - June 17, 2010, 6:58 a.m.
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
---
 arch/sparc/kernel/ttable.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Miller - June 25, 2010, 6:18 p.m.
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

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)