RFC: [PATCH] Copy over headers from arch/powerpc to arch/ppc to decouple them

David Gibson david at gibson.dropbear.id.au
Tue Aug 28 11:40:31 EST 2007


On Tue, Aug 28, 2007 at 11:38:08AM +1000, David Gibson wrote:
> On Mon, Aug 27, 2007 at 09:49:04AM -0500, Kumar Gala wrote:
> > Move over includes files that have CONFIG_PPC_MERGE in them to decouple
> > to interdepencies between ARCH=powerpc & ARCH=ppc.
> > 
> > Duplicate the following headers in both locations and remove CONFIG_PPC_MERGE:
> > 
> > <asm/dcr.h>
> > <asm/i8259.h>
> > <asm/ipic.h>
> > <asm/irq.h>
> > 
> > ---
> > 
> > Not sure what people think about this since removing include asm-powerpc
> > from ARCH=ppc builds will require a bunch of other copies beyond these
> > which had a CONFIG_PPC_MERGE in them.
> 
> Seems sensible to me.

Hrm... and it might be worth splitting arch/powerpc/kernel/irq.c,
too, which also has a very large #ifdef PPC_MERGE section.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list