aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorHeiko Stübner <[email protected]>2015-01-16 16:52:44 +0000
committerMichael Turquette <[email protected]>2015-01-17 19:22:39 +0000
commita5e1baf7dca10f8cf945394034013260297bc416 (patch)
treef0c356cefcfa6d70d450323b56f46d20f88790c9 /tools/perf/builtin-annotate.c
parentclk: berlin: bg2q: remove non-exist "smemc" gate clock (diff)
downloadkernel-a5e1baf7dca10f8cf945394034013260297bc416.tar.gz
kernel-a5e1baf7dca10f8cf945394034013260297bc416.zip
clk: rockchip: fix deadlock possibility in cpuclk
Lockdep reported a possible deadlock between the cpuclk lock and for example the i2c driver. CPU0 CPU1 ---- ---- lock(clk_lock); local_irq_disable(); lock(&(&i2c->lock)->rlock); lock(clk_lock); <Interrupt> lock(&(&i2c->lock)->rlock); *** DEADLOCK *** The generic clock-types of the core ccf already use spin_lock_irqsave when touching clock registers, so do the same for the cpuclk. Signed-off-by: Heiko Stuebner <[email protected]> Reviewed-by: Doug Anderson <[email protected]> Signed-off-by: Michael Turquette <[email protected]> [[email protected]: removed initialization of "flags"]
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions