RFC: powerpc: Start splitting up mmu.h by MMU type

Kumar Gala galak at kernel.crashing.org
Thu Apr 19 22:11:07 EST 2007


On Apr 19, 2007, at 1:54 AM, David Gibson wrote:

> This patch makes a start to sorting out the tangled mess of MMU
> related header files in asm-powerpc, and weaning arch/powerpc off the
> remaining asm-ppc headers it uses.
>
> Specifically it splits the ppc64 specific (or more strictly, the
> 64-bit hash table specific) parts of asm-powerpc/mmu.h into its own
> file, asm-powerpc/mmu-hash64/mmu.h.  Similarly, PowerPC 44x
> definitions are taken from asm-ppc/mmu.h, trimmed down for use in
> arch/powerpc and place in their own file, asm-powerpc/mmu-44x/mmu.h.
>
> mmu.h definitions for other 32-bit MMU types remain in asm-ppc/mmu.h
> for now, but should be likewise split into their own files.

I asked this before, but why the need for a separate directory per  
mmu type?  why not just include/asm-powerpc/mmu-44x.h?

- k



More information about the Linuxppc-dev mailing list