summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-02-25 08:40:09 +0100
committerIngo Molnar <mingo@elte.hu>2009-02-25 09:16:01 +0100
commit2d542cf34264ac92e9e7ac55c0b096b066d569d2 (patch)
treee7864da3a119ba2fd1800616f0041610d09058cb /arch
parent499aa86dcbc3c4daf7d2c59c5c30e1a78220fbc1 (diff)
downloadop-kernel-dev-2d542cf34264ac92e9e7ac55c0b096b066d569d2.zip
op-kernel-dev-2d542cf34264ac92e9e7ac55c0b096b066d569d2.tar.gz
tracing/hw-branch-tracing: convert bts-tracer mutex to a spinlock
Impact: fix CPU hotplug lockup bts_hotcpu_handler() is called with irqs disabled, so using mutex_lock() is a no-no. All the BTS codepaths here are atomic (they do not schedule), so using a spinlock is the right solution. Cc: Markus Metzger <markus.t.metzger@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud