summaryrefslogtreecommitdiffstats
path: root/kernel/reboot.c
diff options
context:
space:
mode:
authorUlrich Obergfell <uobergfe@redhat.com>2015-11-06 03:44:53 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-06 04:34:48 +0100
commita2a45b85ec45db4b041ea5d93b21033dbc3cc0fc (patch)
treedc9ae8545451962f41fd518194b29977080e3842 /kernel/reboot.c
parentkernel/watchdog.c: avoid races between /proc handlers and CPU hotplug (diff)
downloadlinux-a2a45b85ec45db4b041ea5d93b21033dbc3cc0fc.tar.xz
linux-a2a45b85ec45db4b041ea5d93b21033dbc3cc0fc.zip
kernel/watchdog.c: remove {get|put}_online_cpus() from watchdog_{park|unpark}_threads()
watchdog_{park|unpark}_threads() are now called in code paths that protect themselves against CPU hotplug, so {get|put}_online_cpus() calls are redundant and can be removed. Signed-off-by: Ulrich Obergfell <uobergfe@redhat.com> Acked-by: Don Zickus <dzickus@redhat.com> Reviewed-by: Aaron Tomlin <atomlin@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>
Diffstat (limited to 'kernel/reboot.c')
0 files changed, 0 insertions, 0 deletions