summaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/coresight/coresight-etm4x.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior2017-05-24 10:15:22 +0200
committerThomas Gleixner2017-05-26 10:10:39 +0200
commite560c89c8ac0baadf0da351f602c599016568fc7 (patch)
treece94bd27e0b9186ba618b44c71b47505ab09582d /drivers/hwtracing/coresight/coresight-etm4x.c
parentKVM/PPC/Book3S HV: Use cpuhp_setup_state_nocalls_cpuslocked() (diff)
downloadkernel-qcow2-linux-e560c89c8ac0baadf0da351f602c599016568fc7.tar.gz
kernel-qcow2-linux-e560c89c8ac0baadf0da351f602c599016568fc7.tar.xz
kernel-qcow2-linux-e560c89c8ac0baadf0da351f602c599016568fc7.zip
hwtracing/coresight-etm3x: Use cpuhp_setup_state_nocalls_cpuslocked()
etm_probe() 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> Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: linux-arm-kernel@lists.infradead.org Link: http://lkml.kernel.org/r/20170524081547.889092478@linutronix.de
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-etm4x.c')
0 files changed, 0 insertions, 0 deletions