]> 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>
Tue, 6 Dec 2011 03:59:29 +0000 (14:59 +1100)
commitbc5a0faeadf8614e2b73b919e6f726bcaba67b25
tree6bd5e38f3114468611b5a9197abb7c49915d1dfd
parent46b3132bcc718f39fbde3481eaa3b878c2e81569
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