watchdog: Fix sysctl consistency
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Fri, 28 Jan 2011 16:00:32 +0000 (11:00 -0500)
committerIngo Molnar <mingo@elte.hu>
Mon, 31 Jan 2011 12:22:43 +0000 (13:22 +0100)
commit397357666de6b5b6adb5fa99f9758ec8cf30ac34
treece7e63588928ae0fc3b72e12e5d4298b09916ddf
parent4135038a582c20ffdadfcf6564852e0b72a20968
watchdog: Fix sysctl consistency

If it was not possible to enable watchdog for any cpu, switch
watchdog_enabled back to 0, because it's visible via
kernel.watchdog sysctl.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: <stable@kernel.org>
LKML-Reference: <1296230433-6261-2-git-send-email-dzickus@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/watchdog.c