]> git.karo-electronics.de Git - karo-tx-linux.git/commit
smp_call_function() only lets all other CPUs execute a specific function,
authorShaohua Li <shaohua.li@intel.com>
Wed, 3 Aug 2011 00:52:56 +0000 (10:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 8 Aug 2011 04:03:18 +0000 (14:03 +1000)
commit2e6e2d8814f48c008552f5f8e6296da1cfc8e643
tree90dc65a8dac1ec4628f5dd022e57facf94ec0a38
parentf4104a135fd5c37009b603ec2f43c408f082c321
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 boradcast 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>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/idle/intel_idle.c