diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-05-24 11:15:12 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-05-26 11:10:34 +0300 |
commit | 8f553c498e1772cccb39a114da4a498d22992758 (patch) | |
tree | 330413c2fd8061862daf7dfd281066a4353bcf32 /arch/m32r | |
parent | 08332893e37af6ae779367e78e444f8f9571511d (diff) | |
download | linux-8f553c498e1772cccb39a114da4a498d22992758.tar.xz |
cpu/hotplug: Provide cpus_read|write_[un]lock()
The counting 'rwsem' hackery of get|put_online_cpus() is going to be
replaced by percpu rwsem.
Rename the functions to make it clear that it's locking and not some
refcount style interface. These new functions will be used for the
preparatory patches which make the code ready for the percpu rwsem
conversion.
Rename all instances in the cpu hotplug code while at it.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20170524081547.080397752@linutronix.de
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions