[PATCH 5/10] Port 44x MMU definitions to ARCH=powerpc

Kumar Gala galak at kernel.crashing.org
Sat Mar 24 01:09:11 EST 2007


On Mar 22, 2007, at 4:22 AM, David Gibson wrote:

> This patch moves the mmu.h definitions which are still relevant for
> ARCH=powerpc from include/asm-ppc/mmu.h to their own file,
> include/asm-powerpc/mmu_44x.h.  The new file is included from
> asm-powerpc/mmu.h, and a couple of other tweaks to correct mmu
> definitions for 44x are made.
>
> Signed-off-by: David Gibson <dwg at au1.ibm.com>
> ---
>
>  arch/powerpc/kernel/head_44x.S    |    4 -
>  arch/powerpc/mm/44x_mmu.c         |   81 ++++++ 
> +-------------------------------
>  arch/powerpc/mm/mmu_decl.h        |    2
>  include/asm-powerpc/mmu-44x/mmu.h |   75 ++++++++++++++++++++++++++ 
> +++++++++
>  include/asm-powerpc/mmu.h         |   11 ++++-
>  5 files changed, 105 insertions(+), 68 deletions(-)

Any reason you are creating a new directory in include/asm-powerpc  
for 44x mmu defn?  why not just mmu_44x.h or something like that?

- k



More information about the Linuxppc-dev mailing list