]> 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>
Tue, 26 Jul 2011 10:14:56 +0000 (20:14 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 29 Jul 2011 05:53:09 +0000 (15:53 +1000)
commit90117af5d9defa428635c7e6f5610f51553cbb8f
tree1d4da6883c3f3ee12c825558b0e810ceeeab6084
parent2b2451cbf748167795af56efe4a290fc878a8076
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