From: Rusty Russell Date: Fri, 21 Nov 2008 10:37:16 +0000 (+1030) Subject: [CPUFREQ] clean up speedstep-centrino and reduce cpumask_t usage X-Git-Tag: v2.6.29-rc1~504^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9963d1aad40946b1b6d34f9bee8d8a1b9032ae22;p=pandora-kernel.git [CPUFREQ] clean up speedstep-centrino and reduce cpumask_t usage Impact: cleanup 1) The #ifdef CONFIG_HOTPLUG_CPU seems unnecessary these days. 2) The loop can simply skip over offline cpus, rather than creating a tmp mask. 3) set_mask is set to either a single cpu or all online cpus in a policy. Since it's just used for set_cpus_allowed(), any offline cpus in a policy don't matter, so we can just use cpumask_of_cpu() or the policy->cpus. Signed-off-by: Rusty Russell Signed-off-by: Mike Travis Signed-off-by: Dave Jones --- Reading git-diff-tree failed