diff options
author | Ole Henrik Jahren <olehenja@alumni.ntnu.no> | 2011-03-06 20:42:39 +0100 |
---|---|---|
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2011-04-13 15:46:52 +0200 |
commit | 6e2ad51190cdb11b364377882134513f60dec6b9 (patch) | |
tree | ea112778575ab257cb9d90638deec4bd676443a1 /kernel/hung_task.c | |
parent | 51ef85d8f9ae24475a0cb1bd772258eafec91c69 (diff) |
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/hung_task.c')
0 files changed, 0 insertions, 0 deletions