]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: move watchdog_disable_all_cpus() outside of ifdef
authorUlrich Obergfell <uobergfe@redhat.com>
Fri, 6 Nov 2015 02:44:30 +0000 (18:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2015 03:34:48 +0000 (19:34 -0800)
commit0a84194a6b1728b0276502e20993acd30b58e33c
tree944677a72be83add5b43271e279ca3b01c86663f
parent209db9a65e5e25dc37d5bdb4c4a500c78e413b86
watchdog: move watchdog_disable_all_cpus() outside of ifdef

Move watchdog_disable_all_cpus() outside of the ifdef so that it is
available if CONFIG_SYSCTL is not defined.  This is preparation for
"watchdog: implement error handling in update_watchdog_all_cpus() and
callers".

Signed-off-by: Ulrich Obergfell <uobergfe@redhat.com>
Reviewed-by: Aaron Tomlin <atomlin@redhat.com>
Acked-by: Don Zickus <dzickus@redhat.com>
Cc: Ulrich Obergfell <uobergfe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/watchdog.c