[PATCH 2/3] [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need

Kumar Gala galak at kernel.crashing.org
Sat Aug 18 15:40:03 EST 2007


On Aug 17, 2007, at 6:25 PM, Segher Boessenkool wrote:

>>  include/asm-powerpc/8xx_immap.h   |  564 +++++++++++++++++
>>  include/asm-powerpc/commproc.h    |  692 ++++++++++++++++++++
>>  include/asm-powerpc/cpm2.h        | 1248 +++++++++++++++++++++++++ 
>> ++++++++++++
>>  include/asm-powerpc/gg2.h         |   61 ++
>>  include/asm-powerpc/highmem.h     |  135 ++++
>>  include/asm-powerpc/hydra.h       |  102 +++
>>  include/asm-powerpc/immap_cpm2.h  |  648 +++++++++++++++++++
>>  include/asm-powerpc/kgdb.h        |   57 ++
>>  include/asm-powerpc/m8260_pci.h   |  187 ++++++
>>  include/asm-powerpc/mpc10x.h      |  180 ++++++
>>  include/asm-powerpc/mpc52xx_psc.h |  191 ++++++
>
> Can't we move most of this to the dir where they are used,
> instead?

The following are shared between arch/powerpc code and drivers:

  include/asm-powerpc/8xx_immap.h   |  564 +++++++++++++++++
  include/asm-powerpc/commproc.h    |  692 ++++++++++++++++++++
  include/asm-powerpc/cpm2.h        | 1248 +++++++++++++++++++++++++++ 
++++++++++
  include/asm-powerpc/immap_cpm2.h  |  648 +++++++++++++++++++
  include/asm-powerpc/mpc52xx_psc.h |  191 ++++++

These could possibly move, I'll look into it:
  include/asm-powerpc/gg2.h         |   61 ++		[into platforms/chrp]
  include/asm-powerpc/hydra.h       |  102 +++		[into platforms/chrp]
  include/asm-powerpc/kgdb.h        |   57 ++		[not sure, maybe leave  
here for now]
  include/asm-powerpc/mpc10x.h      |  180 ++++++	[into platforms/ 
embedded6xx]

Needs to live in include/asm-powerpc:
  include/asm-powerpc/highmem.h     |  135 ++++

Will kill this one per Scott/Arnd:
  include/asm-powerpc/m8260_pci.h   |  187 ++++++

- k



More information about the Linuxppc-dev mailing list