Subject: Re: linux-next: rr tree build failure

From: Rusty Russell <[email-masked]>
Date: Tue, 30 Dec 2008 07:31:40 +1030

On Monday 29 December 2008 18:42:53 Stephen Rothwell wrote:
> Hi Rusty,
> 
> Today's linux-next build (x86_64 allmodconfig) failed like this:
> 
> In file included from include/linux/smp.h:33,
>                  from include/linux/topology.h:33,
>                  from include/linux/mmzone.h:763,
>                  from include/linux/gfp.h:4,
>                  from include/linux/kmod.h:22,
>                  from include/linux/module.h:13,
>                  from include/linux/crypto.h:21,
>                  from arch/x86/kernel/asm-offsets_64.c:7,
>                  from arch/x86/kernel/asm-offsets.c:4:
> arch/x86/include/asm/smp.h: In function 'num_booting_cpus':
> arch/x86/include/asm/smp.h:152: error: implicit declaration of function 'cpus_weight'

Oh, fun.  We added a config option to disable the deprecated cpus_* functions;
it's mainly for those interested in helping with the conversion.

Of course, allmodconfig turns it on.  I made it depend on CONFIG_BROKEN for now.

Thanks,
Rusty.