From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 20 Apr 2007 10:56:16 +1000 From: David Gibson To: Kumar Gala Subject: Re: RFC: powerpc: Start splitting up mmu.h by MMU type Message-ID: <20070420005616.GA14382@localhost.localdomain> References: <20070419065430.GA5862@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Apr 19, 2007 at 07:11:07AM -0500, Kumar Gala wrote: > > 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? Because I have further patches in the works that add MMU specific versions of tlbflush.h, pgtable.h and so forth to the same directories. I'm not wedded to the idea, but it seemed like a reasonable way to organize things. -- 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