diff options
author | Shaohua Li <shaohua.li@intel.com> | 2012-01-10 15:48:19 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-25 16:13:46 -0800 |
commit | caa3e3bed0bf0ec356101811dcd46c9603ec3788 (patch) | |
tree | c2cad69218d5ae93a2781ced6d4ea51589cee25b /include | |
parent | 872f97c4e073b6e23a232cbdceb212aaac51d7df (diff) | |
download | lwn-caa3e3bed0bf0ec356101811dcd46c9603ec3788.tar.gz lwn-caa3e3bed0bf0ec356101811dcd46c9603ec3788.zip |
intel_idle: fix API misuse
commit 39a74fdedd1c1461d6fb6d330b5266886513c98f upstream.
smp_call_function() only lets all other CPUs execute a specific function,
while we expect all CPUs do in intel_idle. Without the fix, we could have
one cpu which has auto_demotion enabled or has no broadcast timer setup.
Usually we don't see impact because auto demotion just harms power and the
intel_idle init is called in CPU 0, where boradcast timer delivers
interrupt, but this still could be a problem.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions