]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: move definition of 'watchdog_proc_mutex' outside of proc_dowatchdog()
authorUlrich Obergfell <uobergfe@redhat.com>
Tue, 14 Apr 2015 22:44:01 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Apr 2015 23:48:58 +0000 (16:48 -0700)
commit8c0cb57375d76ded0e04b3fd711031cdb981c0f3
treeafc4103494ae86e63d264f87ca523f7cdbce62fa
parentf6eb5317750424098f9339137d0b62bce74e1546
watchdog: move definition of 'watchdog_proc_mutex' outside of proc_dowatchdog()

This series removes proc_dowatchdog().  Since multiple new functions need
the 'watchdog_proc_mutex' to serialize access to the watchdog parameters
in /proc/sys/kernel, move the mutex outside of any function.

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>
kernel/watchdog.c