]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
watchdog: Fix sysctl consistency
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Fri, 28 Jan 2011 16:00:32 +0000 (11:00 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:45 +0000 (15:14 -0800)
commita716ed74c75843f5e15c1cf2dedd6de8a882bd9c
tree2c472c0065bb1d29aee09570a31e7da58d417fa0
parent49ae676572f86b2603bd3bd3f246a7c84ec25492
watchdog: Fix sysctl consistency

commit 397357666de6b5b6adb5fa99f9758ec8cf30ac34 upstream.

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>
LKML-Reference: <1296230433-6261-2-git-send-email-dzickus@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/watchdog.c