aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kgdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kgdb.c')
-rw-r--r--kernel/kgdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/kgdb.c b/kernel/kgdb.c
index 2eb517e23514..87f2cc557553 100644
--- a/kernel/kgdb.c
+++ b/kernel/kgdb.c
@@ -596,7 +596,7 @@ static void kgdb_wait(struct pt_regs *regs)
596 596
597 /* Signal the primary CPU that we are done: */ 597 /* Signal the primary CPU that we are done: */
598 atomic_set(&cpu_in_kgdb[cpu], 0); 598 atomic_set(&cpu_in_kgdb[cpu], 0);
599 touch_softlockup_watchdog(); 599 touch_softlockup_watchdog_sync();
600 clocksource_touch_watchdog(); 600 clocksource_touch_watchdog();
601 local_irq_restore(flags); 601 local_irq_restore(flags);
602} 602}
@@ -1450,7 +1450,7 @@ acquirelock:
1450 (kgdb_info[cpu].task && 1450 (kgdb_info[cpu].task &&
1451 kgdb_info[cpu].task->pid != kgdb_sstep_pid) && --sstep_tries) { 1451 kgdb_info[cpu].task->pid != kgdb_sstep_pid) && --sstep_tries) {
1452 atomic_set(&kgdb_active, -1); 1452 atomic_set(&kgdb_active, -1);
1453 touch_softlockup_watchdog(); 1453 touch_softlockup_watchdog_sync();
1454 clocksource_touch_watchdog(); 1454 clocksource_touch_watchdog();
1455 local_irq_restore(flags); 1455 local_irq_restore(flags);
1456 1456
@@ -1550,7 +1550,7 @@ kgdb_restore:
1550 } 1550 }
1551 /* Free kgdb_active */ 1551 /* Free kgdb_active */
1552 atomic_set(&kgdb_active, -1); 1552 atomic_set(&kgdb_active, -1);
1553 touch_softlockup_watchdog(); 1553 touch_softlockup_watchdog_sync();
1554 clocksource_touch_watchdog(); 1554 clocksource_touch_watchdog();
1555 local_irq_restore(flags); 1555 local_irq_restore(flags);
1556 1556