[PATCH 01/35] x86: clean up speedctep-centrino and reduce cpumask_t usage
Stephen Rothwell
sfr at canb.auug.org.au
Tue Oct 21 11:09:25 EST 2008
Hi Mike,
Just a first small thing:
On Mon, 20 Oct 2008 10:03:20 -0700 Mike Travis <travis at sgi.com> wrote:
>
> 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.
>
> From: Rusty Russell <rusty at rustcorp.com.au>
> Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
> Signed-off-by: Mike Travis <travis at sgi.com>
The From: line should be the first nonempty line in the mail to get the
attribution correct.
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20081021/fe819e73/attachment.pgp>
More information about the Linuxppc-dev
mailing list