watchdog: introduce separate handlers for parameters in /proc/sys/kernel
authorUlrich Obergfell <uobergfe@redhat.com>
Tue, 14 Apr 2015 22:44:08 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Apr 2015 23:48:59 +0000 (16:48 -0700)
commit83a80a39075a9ded23df1e26a4b617c289077630
treee4def1ad61fbeea79397fe811385b7beb81ad268
parentef246a216b02c604ff465b9a62bb0d2e1ea183a7
watchdog: introduce separate handlers for parameters in /proc/sys/kernel

Separate handlers for each watchdog parameter in /proc/sys/kernel replace
the proc_dowatchdog() function.  Three of those handlers merely call
proc_watchdog_common() with one different argument.

Signed-off-by: Ulrich Obergfell <uobergfe@redhat.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/nmi.h
kernel/watchdog.c