On Mon, Apr 16, 2007 at 01:13:01PM +0800, Wang, Baojun wrote: > PROBLEM: linux kernel 2.6.20.6 build failed for ppc board chestnut(ibm ppc > 750GX/FX) >
Confirmed. arch/ppc isn't getting much love these days. <snip> > this brute force patch sould solve the problem: This is missing a Signed-off-by: line. > diff -Nru /tmp/linux-2.6.20.6/arch/ppc/platforms/chestnut.c \ > linux-2.6.20.6/arch/ppc/platforms/chestnut.c > > --- /tmp/linux-2.6.20.6/arch/ppc/platforms/chestnut.c 2007-04-07 > 04:02:48.000000000 +0800 > +++ linux-2.6.20.6/arch/ppc/platforms/chestnut.c 2007-04-13 > 17:09:03.000000000 +0800 > @@ -432,7 +432,9 @@ > ptbl.name = "User FS"; > ptbl.size = CHESTNUT_32BIT_SIZE; > > - physmap_map.size = CHESTNUT_32BIT_SIZE; > + // physmap_map.size = CHESTNUT_32BIT_SIZE; Just remove this completely. It's not needed any longer. > + physmap_configure(CHESTNUT_32BIT_BASE, CHESTNUT_32BIT_SIZE, > CONFIG_MTD_PHYSMAP_BANKWIDTH, NULL); Technically, this call isn't needed. The chestnut_defconfig already provides the correct variables. josh - 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/