From: Dongdong Deng Date: Fri, 25 Jun 2010 18:17:57 +0000 (-0700) Subject: sparc64: fix the build error due to smp_kgdb_capture_client() X-Git-Tag: v2.6.35-rc6~10^2~6 X-Git-Url: https://repo.jachan.dev/linux.git/commitdiff_plain/43bc2db47292a824152145253b1dd2847e7312a3 sparc64: fix the build error due to smp_kgdb_capture_client() Signed-off-by: Dongdong Deng Signed-off-by: David S. Miller --- 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)