[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071120123140.e0e41c90.akpm@linux-foundation.org>
Date: Tue, 20 Nov 2007 12:31:40 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org, apw@...dowen.org,
balbir@...ux.vnet.ibm.com, Christoph Lameter <clameter@....com>
Subject: Re: mm snapshot broken-out-2007-11-20-01-45 Build Failure
mach_apic.h
On Tue, 20 Nov 2007 19:52:25 +0530
Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com> 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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists