diff options
author | Len Brown <len.brown@intel.com> | 2011-04-02 01:34:59 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-08-04 01:06:37 +0200 |
commit | a0bfa1373859e9d11dc92561a8667588803e42d8 (patch) | |
tree | ef5768a313ac16a211830efc3edb9ca95487cb6a /security | |
parent | x86 idle: move mwait_idle_with_hints() to where it is used (diff) | |
download | linux-a0bfa1373859e9d11dc92561a8667588803e42d8.tar.xz linux-a0bfa1373859e9d11dc92561a8667588803e42d8.zip |
cpuidle: stop depending on pm_idle
cpuidle users should call cpuidle_call_idle() directly
rather than via (pm_idle)() function pointer.
Architecture may choose to continue using (pm_idle)(),
but cpuidle need not depend on it:
my_arch_cpu_idle()
...
if(cpuidle_call_idle())
pm_idle();
cc: Kevin Hilman <khilman@deeprootsystems.com>
cc: Paul Mundt <lethal@linux-sh.org>
cc: x86@kernel.org
Acked-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions