From: Ingo Molnar Date: Wed, 25 Feb 2009 07:40:09 +0000 (+0100) Subject: tracing/hw-branch-tracing: convert bts-tracer mutex to a spinlock X-Git-Tag: v2.6.30-rc1~2^2~84^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d542cf34264ac92e9e7ac55c0b096b066d569d2;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed