diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-08-24 21:40:56 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-08-24 21:40:56 +0200 |
commit | b7ab83edba2d50583bc9520431618489379718b2 (patch) | |
tree | 25b780542b1b58451345a1352d221a32a3b86e9a /init/do_mounts.c | |
parent | a53e77fa57145cef6e2a63925db3d426128b2335 (diff) |
PM: Use spinlock instead of mutex in clock management functions
The lock member of struct pm_clk_data is of type struct mutex,
which is a problem, because the suspend and resume routines
defined in drivers/base/power/clock_ops.c cannot be executed
with interrupts disabled for this reason. Modify
struct pm_clk_data so that its lock member is a spinlock.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions