[PATCH 0/3 v2] Remove need for include/asm-ppc

Arnd Bergmann arnd at arndb.de
Tue Aug 21 22:05:58 EST 2007


On Tuesday 21 August 2007, David Gibson wrote:
> 
> > > > The point would be to keep the two trees separate, so that one
> > > > doesn't need to worry about breaking arch/ppc when making a change
> > > > to arch/powerpc.
> > > 
> > > Exactly so.  Having to be careful about not breaking arch/ppc when
> > > doing cleanups for arch/powerpc is a pain in the bum.
> > 
> > How many times has that happened recently?  If it's fairly infrequent,
> 
> It's infrequent because I've shyed away from cleaning up shared files,
> precisely because I'm afraid of breaking arch/ppc.

How about splitting the files on a per-case bases then? There are at least
95 files that would need to be duplicated (again) to make ppc independent
from powerpc, and most of these files are about userland interfaces where
duplication makes no sense at all.

Some files in there (irq.h, ipic.h, dcr.h, i8259.h) already have large
parts hidden in #ifdef CONFIG_PPC_MERGE, so I guess for those it may
actually be interesting to split them in two again.

	Arnd <><



More information about the Linuxppc-dev mailing list