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

From: Rusty Russell <[email-masked]>
Date: Tue, 30 Dec 2008 09:22:08 +1030

On Tuesday 30 December 2008 02:25:57 Stephen Rothwell wrote:
> Hi Rusty,
> 
> Today's linux-next build (powerpc allnoconfig) failed like this:
> 
> drivers/base/cpu.c: In function 'print_cpus_kernel_max':
> drivers/base/cpu.c:136: error: 'CONFIG_NR_CPUS' undeclared (first use in this function)
> 
> Caused by commit e057d7aea9d8f2a46cd440d8bfb72245d4e72d79 ("cpumask: add
> sysfs displays for configured and disabled cpu maps") from the rr_cpumask
> tree.  Powerpc (at least) does not define CONFIG_NR_CPUS for a non SMP
> build.
> 
> I have reverted that commit for today.

Thanks, we defined that in a later patch which hadn't been put in the cpumask
tree yet.  I've moved it (and several others) in now.

Thanks,
Rusty.