|
@@ -596,7 +596,7 @@ static void kgdb_wait(struct pt_regs *regs)
|
|
|
|
|
|
/* Signal the primary CPU that we are done: */
|
|
/* Signal the primary CPU that we are done: */
|
|
atomic_set(&cpu_in_kgdb[cpu], 0);
|
|
atomic_set(&cpu_in_kgdb[cpu], 0);
|
|
- touch_softlockup_watchdog();
|
|
|
|
|
|
+ touch_softlockup_watchdog_sync();
|
|
clocksource_touch_watchdog();
|
|
clocksource_touch_watchdog();
|
|
local_irq_restore(flags);
|
|
local_irq_restore(flags);
|
|
}
|
|
}
|
|
@@ -1450,7 +1450,7 @@ acquirelock:
|
|
(kgdb_info[cpu].task &&
|
|
(kgdb_info[cpu].task &&
|
|
kgdb_info[cpu].task->pid != kgdb_sstep_pid) && --sstep_tries) {
|
|
kgdb_info[cpu].task->pid != kgdb_sstep_pid) && --sstep_tries) {
|
|
atomic_set(&kgdb_active, -1);
|
|
atomic_set(&kgdb_active, -1);
|
|
- touch_softlockup_watchdog();
|
|
|
|
|
|
+ touch_softlockup_watchdog_sync();
|
|
clocksource_touch_watchdog();
|
|
clocksource_touch_watchdog();
|
|
local_irq_restore(flags);
|
|
local_irq_restore(flags);
|
|
|
|
|
|
@@ -1550,7 +1550,7 @@ kgdb_restore:
|
|
}
|
|
}
|
|
/* Free kgdb_active */
|
|
/* Free kgdb_active */
|
|
atomic_set(&kgdb_active, -1);
|
|
atomic_set(&kgdb_active, -1);
|
|
- touch_softlockup_watchdog();
|
|
|
|
|
|
+ touch_softlockup_watchdog_sync();
|
|
clocksource_touch_watchdog();
|
|
clocksource_touch_watchdog();
|
|
local_irq_restore(flags);
|
|
local_irq_restore(flags);
|
|
|
|
|