From: Ingo Molnar the patch below adds a touch_softlockup_watchdog() call to every touch_nmi_watchdog() call. [A future consolidation patch should introduce a touch_watchdogs() call that will do both a touch_nmi_watchdog() [if available on the platform] and a touch_softlockup_watchdog() call.] Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton --- arch/i386/kernel/nmi.c | 5 +++++ arch/x86_64/kernel/nmi.c | 5 +++++ 2 files changed, 10 insertions(+) diff -puN arch/i386/kernel/nmi.c~detect-soft-lockups-from-touch_nmi_watchdog arch/i386/kernel/nmi.c --- 25/arch/i386/kernel/nmi.c~detect-soft-lockups-from-touch_nmi_watchdog 2005-04-26 19:27:00.277684528 -0700 +++ 25-akpm/arch/i386/kernel/nmi.c 2005-04-26 19:27:00.281683920 -0700 @@ -472,6 +472,11 @@ void touch_nmi_watchdog (void) */ for (i = 0; i < NR_CPUS; i++) alert_counter[i] = 0; + + /* + * Tickle the softlockup detector too: + */ + touch_softlockup_watchdog(); } extern void die_nmi(struct pt_regs *, const char *msg); diff -puN arch/x86_64/kernel/nmi.c~detect-soft-lockups-from-touch_nmi_watchdog arch/x86_64/kernel/nmi.c --- 25/arch/x86_64/kernel/nmi.c~detect-soft-lockups-from-touch_nmi_watchdog 2005-04-26 19:27:00.278684376 -0700 +++ 25-akpm/arch/x86_64/kernel/nmi.c 2005-04-26 19:27:00.282683768 -0700 @@ -377,6 +377,11 @@ void touch_nmi_watchdog (void) */ for (i = 0; i < NR_CPUS; i++) alert_counter[i] = 0; + + /* + * Tickle the softlockup detector too: + */ + touch_softlockup_watchdog(); } void nmi_watchdog_tick (struct pt_regs * regs, unsigned reason) _