diff options
author | 2011-03-06 20:42:39 +0100 | |
---|---|---|
committer | 2011-04-13 15:46:52 +0200 | |
commit | 6e2ad51190cdb11b364377882134513f60dec6b9 (patch) | |
tree | ea112778575ab257cb9d90638deec4bd676443a1 /kernel/sched_debug.c | |
parent | avr32: Fix .size directive for cpu_enter_idle (diff) | |
download | linux-rng-6e2ad51190cdb11b364377882134513f60dec6b9.tar.xz linux-rng-6e2ad51190cdb11b364377882134513f60dec6b9.zip |
avr32: fix deadlock when reading clock list in debugfs
When writing out /sys/kernel/debug/at32ap_clk, clock list lock is being
held while clk_get() is called. clk_get() attempts to take the same
lock, which results in deadlock. Introduce and call lock free version,
__clk_get(), instead.
Signed-off-by: Ole Henrik Jahren <olehenja@alumni.ntnu.no>
Cc: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Diffstat (limited to 'kernel/sched_debug.c')
0 files changed, 0 insertions, 0 deletions