Hi Anton,

On Tue, 27 Apr 2010 11:32:34 +1000 Anton Blanchard <an...@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                    s...@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Attachment: pgpoyS0dRQp0y.pgp
Description: PGP signature

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to