diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-12-04 21:59:34 +0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-12-04 22:56:59 +0400 |
commit | 8d4516904b39507458bee8115793528e12b1d8dd (patch) | |
tree | 4afc56d198921b85f61918c2478cfc93fb2dc96e /COPYING | |
parent | b69f0859dc8e633c5d8c06845811588fe17e68b3 (diff) | |
download | linux-8d4516904b39507458bee8115793528e12b1d8dd.tar.xz |
watchdog: Fix CPU hotplug regression
Norbert reported:
"3.7-rc6 booted with nmi_watchdog=0 fails to suspend to RAM or
offline CPUs. It's reproducable with a KVM guest and physical
system."
The reason is that commit bcd951cf(watchdog: Use hotplug thread
infrastructure) missed to take this into account. So the cpu offline
code gets stuck in the teardown function because it accesses non
initialized data structures.
Add a check for watchdog_enabled into that path to cure the issue.
Reported-and-tested-by: Norbert Warmuth <nwarmuth@t-online.de>
Tested-by: Joseph Salisbury <joseph.salisbury@canonical.com>
Link: http://lkml.kernel.org/r/alpine.LFD.2.02.1211231033230.2701@ionos
Link: http://bugs.launchpad.net/bugs/1079534
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions