Re: [patch 11/14] Powerpc: Use generic per cpu

Benjamin Herrenschmidt
2007-12-02T20:56:27Z

On Wed, 2007-11-28 at 10:54 -0800, Christoph Lameter wrote:
> > As far as I can see, after applying your series of patches, I end up
> > with an unbalanced #ifdef in include/asm-powerpc/percpu.h. I see 3
> > #ifdef/#ifndef, but only two #endifs. It needs another #endif after
> > the #endif /* SMP */ to match the #ifdef __powerpc64__. With that
> > change it looks OK, since 32-bit uses asm-generic/percpu.h for both
> > SMP and UP.
>
> Ahhh.. Ok. Fixed.
>
> Do you know where to get a ppc64 crosscompiler? I
> tried to build gcc for ppc64 but the build failed on x86_64.

Usually, we build biarch... checked if your existing gcc happen to work
with -m64 ?

Ben.