]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/kgdb.c
RDMA/cxgb3: Increase the max CQ depth
[mv-sheeva.git] / kernel / kgdb.c
index 87f2cc557553c80e4eea5eb707b984a5deb36b57..761fdd2b3034ae87272578fe1314680af5c0d71f 100644 (file)
@@ -583,6 +583,9 @@ static void kgdb_wait(struct pt_regs *regs)
        smp_wmb();
        atomic_set(&cpu_in_kgdb[cpu], 1);
 
+       /* Disable any cpu specific hw breakpoints */
+       kgdb_disable_hw_debug(regs);
+
        /* Wait till primary CPU is done with debugging */
        while (atomic_read(&passive_cpu_wait[cpu]))
                cpu_relax();