diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-10-03 21:26:50 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-30 01:21:23 +0100 |
commit | 0d09d3125642ac1f02937e577819dbc515291d93 (patch) | |
tree | f89ef56df320e0da2757642fc42828adcc24021e /lib/irq_regs.c | |
parent | 6d281e97a1c53abb73477a34806c1a000409c4b9 (diff) | |
download | linux-0d09d3125642ac1f02937e577819dbc515291d93.tar.gz linux-0d09d3125642ac1f02937e577819dbc515291d93.tar.bz2 linux-0d09d3125642ac1f02937e577819dbc515291d93.zip |
cpuidle: call cpuidle_get_driver() from after taking cpuidle_driver_lock
There are a few cpuidle_get_driver() calls that aren't made under
cpuidle_driver_lock which is incorrect.
Fix them by calling cpuidle_get_driver() after taking cpuidle_driver_lock.
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/irq_regs.c')
0 files changed, 0 insertions, 0 deletions