Blackfin: kgdb: drop dead KGDB_THR_PROC_SWAP for SMP systems
authorSonic Zhang <sonic.zhang@analog.com>
Fri, 28 Jan 2011 10:58:59 +0000 (10:58 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 18 Mar 2011 07:49:26 +0000 (03:49 -0400)
Common code no longer defines this, so stop using it.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/kgdb.c

index eb92592..b8cfe34 100644 (file)
@@ -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,