[PATCH 00/15] powerpc: move some header files

Kumar Gala galak at kernel.crashing.org
Thu Apr 6 00:28:55 EST 2006


On Apr 5, 2006, at 12:10 AM, sfr at canb.auug.org.au wrote:

> This patch set moves sufficient include files from include/asm-ppc
> to include/asm-powerpc to allow us to remove the include hack in the
> arch/powerpc/Makefile.
>
>  b/arch/powerpc/Makefile           |   21 ++------------
>  b/include/asm-powerpc/amigappc.h  |    9 ++----
>  b/include/asm-powerpc/bootinfo.h  |    8 ++---
>  b/include/asm-powerpc/highmem.h   |   11 +++----
>  b/include/asm-powerpc/hydra.h     |    8 ++---
>  b/include/asm-powerpc/mpc83xx.h   |    7 ++--
>  b/include/asm-powerpc/mpc85xx.h   |    9 ++----
>  b/include/asm-powerpc/mpc8xx.h    |   10 +++---
>  b/include/asm-powerpc/ocp.h       |    7 ++--
>  b/include/asm-powerpc/ocp_ids.h   |    6 ++--
>  b/include/asm-powerpc/open_pic.h  |   10 +++---
>  b/include/asm-powerpc/pnp.h       |    8 ++---
>  b/include/asm-powerpc/reg_booke.h |   55 ++++++++++++++++++ 
> +-------------------
>  b/include/asm-powerpc/residual.h  |    6 ++--
>  b/include/asm-powerpc/suspend.h   |   17 +++++++++++
>  include/asm-ppc/suspend.h         |   12 --------
>  16 files changed, 95 insertions(+), 109 deletions(-)

How about we do the following to remove the include hack:

don't move the following (determine what needs them to build and  
fixup, I dont believe any of these need to exist at this point in  
arch/powerpc for it to build any supported arch/powerpc platform:

  b/include/asm-powerpc/amigappc.h  |    9 ++----
  b/include/asm-powerpc/bootinfo.h  |    8 ++---
  b/include/asm-powerpc/mpc8xx.h    |   10 +++---
  b/include/asm-powerpc/ocp.h       |    7 ++--
  b/include/asm-powerpc/ocp_ids.h   |    6 ++--
  b/include/asm-powerpc/open_pic.h  |   10 +++---

Duplicate these headers (then I'll go through and clean them up,  
removing arch/ppc'ism):

  b/include/asm-powerpc/mpc83xx.h   |    7 ++--
  b/include/asm-powerpc/mpc85xx.h   |    9 ++----

- kumar



More information about the Linuxppc-dev mailing list