diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-11-21 11:37:16 +0100 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2008-12-05 21:20:10 +0100 |
commit | 9963d1aad40946b1b6d34f9bee8d8a1b9032ae22 (patch) | |
tree | de3f4ef50a8aefc180b874d20d3bdcf338d031d9 /arch/x86/kernel/kprobes.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff) | |
download | linux-9963d1aad40946b1b6d34f9bee8d8a1b9032ae22.tar.xz linux-9963d1aad40946b1b6d34f9bee8d8a1b9032ae22.zip |
[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 <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/x86/kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions