cpu/hotplug: Provide lockdep_assert_cpus_held()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 24 May 2017 08:15:13 +0000 (10:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 26 May 2017 08:10:35 +0000 (10:10 +0200)
commitade3f680a76b474d9f5375a9b1d100ee787bf469
tree6f56a7f8159ca6c0675c98626a426e630637ad86
parent8f553c498e1772cccb39a114da4a498d22992758
cpu/hotplug: Provide lockdep_assert_cpus_held()

Provide a stub function which can be used in places where existing
get_online_cpus() calls are moved to call sites.

This stub is going to be filled by the final conversion of the hotplug
locking mechanism to a percpu rwsem.

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.161282442@linutronix.de
include/linux/cpu.h