]> git.kernelconcepts.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>
Mon, 1 Aug 2011 03:36:38 +0000 (13:36 +1000)
commit8a2fd5b96a41ebb2817b89173b110d3bd3f3c7fd
treed60c4aec9a3a10b17b71885647814792c79fe476
parente3d1a4bab45b1652b555a95a94158918e83bb8ab
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