aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/coresight/coresight-etm3x.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2017-05-24 10:15:21 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-05-26 10:10:39 +0200
commit419af25fa4d0974fd758a668c08c369c19392a47 (patch)
treee2f780bf8a9821337e4026972f7869d77eeaf647 /drivers/hwtracing/coresight/coresight-etm3x.c
parentcpufreq: Use cpuhp_setup_state_nocalls_cpuslocked() (diff)
downloadlinux-dev-419af25fa4d0974fd758a668c08c369c19392a47.tar.xz
linux-dev-419af25fa4d0974fd758a668c08c369c19392a47.zip
KVM/PPC/Book3S HV: Use cpuhp_setup_state_nocalls_cpuslocked()
kvmppc_alloc_host_rm_ops() holds get_online_cpus() while invoking cpuhp_setup_state_nocalls(). cpuhp_setup_state_nocalls() invokes get_online_cpus() as well. This is correct, but prevents the conversion of the hotplug locking to a percpu rwsem. Use cpuhp_setup_state_nocalls_cpuslocked() to avoid the nested call. Convert *_online_cpus() to the new interfaces while at it. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Ingo Molnar <mingo@kernel.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: kvm@vger.kernel.org Cc: Peter Zijlstra <peterz@infradead.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: kvm-ppc@vger.kernel.org Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: linuxppc-dev@lists.ozlabs.org Cc: Alexander Graf <agraf@suse.com> Link: http://lkml.kernel.org/r/20170524081547.809616236@linutronix.de
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-etm3x.c')
0 files changed, 0 insertions, 0 deletions