kernel/watchdog.c: remove {get|put}_online_cpus() from watchdog_{park|unpark}_threads()
authorUlrich Obergfell <uobergfe@redhat.com>
Fri, 6 Nov 2015 02:44:53 +0000 (18:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2015 03:34:48 +0000 (19:34 -0800)
commita2a45b85ec45db4b041ea5d93b21033dbc3cc0fc
treedc9ae8545451962f41fd518194b29977080e3842
parent8614ddef82139d08234dbf681188f9bcddae9f03
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>
kernel/watchdog.c