Re: [PATCH try #2] powerdomain: convert pwrdm_mutex to rwsem

2008-05-09 Thread Tony Lindgren
* Paul Walmsley <[EMAIL PROTECTED]> [080507 17:54]: > > Hi, > > that last patch escaped with some trailing whitespace. Here's a fixed > copy. Correction, pushing this one instead. Tony > - Paul > > --- > > > Convert pwrdm_mutex to pwrdm_rwsem to avoid trying to relock mutex in the > even

[PATCH try #2] powerdomain: convert pwrdm_mutex to rwsem

2008-05-07 Thread Paul Walmsley
Hi, that last patch escaped with some trailing whitespace. Here's a fixed copy. - Paul --- Convert pwrdm_mutex to pwrdm_rwsem to avoid trying to relock mutex in the event that the pwrdm_for_each() callback function calls something that triggers a pwrdm_lookup(). Problem found by Jouni Hög