]> 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>
Wed, 24 Aug 2011 23:47:24 +0000 (09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 31 Aug 2011 04:27:35 +0000 (14:27 +1000)
commit7507bc73941bcbefb4ff6324c30d59dd065e7f4c
tree636a9dbe763a693ca39ddedc6b09a11ed8ba3838
parentf84c011655d3c2b950100a79f7456bc111c33621
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