[patch 03/15] powerpc: cpumask: Convert smp_cpus_done to new cpumask API

Stephen Rothwell sfr at canb.auug.org.au
Wed Apr 28 12:09:22 EST 2010


Hi Anton,

On Tue, 27 Apr 2010 11:32:34 +1000 Anton Blanchard <anton at samba.org> wrote:
>
> -	old_mask = current->cpus_allowed;
> -	set_cpus_allowed(current, cpumask_of_cpu(boot_cpuid));
> -	
> +	alloc_cpumask_var(&old_mask, GFP_NOWAIT);

You should probably put an explicit include of linux/gfp.h in this file
for this.  (Maybe linux/cpumask.h should include it - but it doesn't.)

-- 
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: 198 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100428/426884de/attachment.pgp>


More information about the Linuxppc-dev mailing list