linux-next: cpu_alloc tree patch (Was: Re: next-20081106: undefinedreference to `__per_cpu_start')

From: Stephen Rothwell
Date: Mon Nov 17 2008 - 23:34:25 EST


Hi Christoph,

On Fri, 7 Nov 2008 12:40:17 -0600 (CST) Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> All of these have no invocation of the PERCPU macro from
> asm-generic/vmlinus.lds.h in their arch vmlinux.lds.S. Thus the symbols
> are missing. They are kind of irrelevant since we are only interested in
> the difference between those...
>
> Either we add the PERCPU() macro invocations to each arches vmlinux.lds.S
> file or we need to special case each time __per_cpu_end/__start is used.
> The only use added for the cpu allocator is in include/linux/percpu.h
>
> Make it conditional on CONFIG_SMP
>
> Signed-off-by: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx>

I have applied this to linux-next today. It is not clear to me if this
is a fix for the cpu_alloc tree or the zero-based per_cpu area patches or
a combination of both. If the first, please apply this to the cpu_alloc
tree or I will have to drop the tree. Otherwise, let me know where it
belongs.

Also, considering the "discussions" between Rusty and yourself, I may
need to drop the cpu_alloc tree until they are resolved.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature