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

From: Benjamin Herrenschmidt
Date: Sun Dec 02 2007 - 15:56:28 EST



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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/