On Tue, 20 Nov 2007 19:52:25 +0530
Kamalesh Babulal <[EMAIL PROTECTED]> wrote:

> Hi Andrew,
> 
> The kernel build fails, on one of the machine 
> 
>   CC      arch/x86/mach-generic/summit.o
> In file included from arch/x86/mach-generic/summit.c:16:
> include/asm/mach-summit/mach_apic.h: In function ___target_cpus___:
> include/asm/mach-summit/mach_apic.h:23: error: ___per_cpu__cpu_mask___ 
> undeclared (first use in this function)
> include/asm/mach-summit/mach_apic.h:23: error: (Each undeclared identifier is 
> reported only once
> include/asm/mach-summit/mach_apic.h:23: error: for each function it appears 
> in.)
> include/asm/mach-summit/mach_apic.h:23: warning: type defaults to ___int___ 
> in declaration of ___type name___
> include/asm/mach-summit/mach_apic.h:23: error: invalid type argument of 
> ___unary *___
> make[1]: *** [arch/x86/mach-generic/summit.o] Error 1
> make: *** [arch/x86/mach-generic] Error 2

        return cpumask_of_cpu(0);

Surely do-not-use-stack-to-allocate-cpumask-for-cpumask_of_cpu.patch.

We can't include percpu.h from cpumask.h because cpumask.h already includes
percpu.h.  So basically all users of cpumask_of_cpu() must include both
percpu.h and percpu.h.

akpm:/usr/src/linux-2.6.24-rc3> grep -rl cpumask_of_cpu . | wc -l
105

erp.  I'll drop the patch.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to