From: Sonic Zhang Date: Fri, 28 Jan 2011 10:58:59 +0000 (+0000) Subject: Blackfin: kgdb: drop dead KGDB_THR_PROC_SWAP for SMP systems X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cdb92f6794fb28c8f6c3bf85024bff8b438a7333;p=linux-beck.git Blackfin: kgdb: drop dead KGDB_THR_PROC_SWAP for SMP systems Common code no longer defines this, so stop using it. Signed-off-by: Sonic Zhang Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/kernel/kgdb.c b/arch/blackfin/kernel/kgdb.c index eb92592fd80c..b8cfe34989e4 100644 --- a/arch/blackfin/kernel/kgdb.c +++ b/arch/blackfin/kernel/kgdb.c @@ -422,11 +422,7 @@ int kgdb_arch_handle_exception(int vector, int signo, struct kgdb_arch arch_kgdb_ops = { .gdb_bpt_instr = {0xa1}, -#ifdef CONFIG_SMP - .flags = KGDB_HW_BREAKPOINT|KGDB_THR_PROC_SWAP, -#else .flags = KGDB_HW_BREAKPOINT, -#endif .set_hw_breakpoint = bfin_set_hw_break, .remove_hw_breakpoint = bfin_remove_hw_break, .disable_hw_break = bfin_disable_hw_debug,