From: Sameer Nanda Date: Thu, 3 May 2012 05:44:14 +0000 (+1000) Subject: nmi-watchdog-fix-for-lockup-detector-breakage-on-resume-fix-fix-fix X-Git-Tag: next-20120503~2^2~129 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a4c58d4c92c9b7ab26436afa07731a5fbda9b599;p=karo-tx-linux.git nmi-watchdog-fix-for-lockup-detector-breakage-on-resume-fix-fix-fix tweak comment further Cc: "Rafael J. Wysocki" Cc: Don Zickus Cc: Ingo Molnar Cc: Mandeep Singh Baines Cc: Peter Zijlstra Cc: Sameer Nanda Signed-off-by: Andrew Morton --- diff --git a/kernel/watchdog.c b/kernel/watchdog.c index de8c56c8b763..c4dd7e2c6179 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c @@ -598,9 +598,10 @@ static struct notifier_block __cpuinitdata cpu_nfb = { }; /* - * On entry to suspend we force an offline->online transition on the boot CPU so - * that PMU state is available to that CPU when it comes back online after - * resume. This information is required for restarting the NMI watchdog. + * On exit from suspend we force an offline->online transition on the boot CPU + * so that the PMU state that was lost while in suspended state gets set up + * properly for the boot CPU. This information is required for restarting the + * NMI watchdog. */ void lockup_detector_bootcpu_resume(void) {