]> git.karo-electronics.de Git - karo-tx-linux.git/commit
intel_idle: disable auto_demotion for hotplugged CPUs
authorShaohua Li <shaohua.li@intel.com>
Fri, 2 Dec 2011 03:12:08 +0000 (14:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Dec 2011 03:15:36 +0000 (14:15 +1100)
commit691056e565ec07659135fc76c6aeae48d45f13dc
tree0a6536f034f3a72ffb9b0d3a08f7c88788977647
parent7d2c1d9fb3193268a2e8b11a216db6b73a66642d
intel_idle: disable auto_demotion for hotplugged CPUs

auto_demotion_disable is called only for online CPUs.  For hotplugged
CPUs, we should disable it too.

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