lkml.org 
[lkml]   [2011]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] avr32: fix deadlock when reading clock list in debugfs
From
Date
On Sun, 2011-03-06 at 20:42 +0100, Ole Henrik Jahren wrote: 
> 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>

Thanks for this fix, added to the AVR32 tree.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>

<snipp patch>

--
Hans-Christian Egtvedt



\
 
 \ /
  Last update: 2011-04-13 15:21    [W:0.036 / U:6.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site