cpu/hotplug: Add __cpuhp_state_add_instance_cpuslocked()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 24 May 2017 08:15:15 +0000 (10:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 26 May 2017 08:10:35 +0000 (10:10 +0200)
commit9805c6733349ea3ccd22cf75b8ebaabb5290e310
tree62f380b6dbed4bc0eb2cf5e8f4c64b6f59bea3a5
parent71def423fe3da0d40ad3427a4cd5f9edc53bff67
cpu/hotplug: Add __cpuhp_state_add_instance_cpuslocked()

Add cpuslocked() variants for the multi instance registration so this can
be called from a cpus_read_lock() protected region.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-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.321782217@linutronix.de
include/linux/cpuhotplug.h
kernel/cpu.c