]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Move phys_addr_t definition into asm/types.h
authorKumar Gala <galak@kernel.crashing.org>
Tue, 15 Apr 2008 19:52:27 +0000 (05:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 16 Apr 2008 21:46:14 +0000 (07:46 +1000)
commitd04ceb3fc294ea2c4f538a04343f3a473953a3b0
treecd209e458ffaf89b6af35352629743ab600c390d
parent4846c5deb9776a7306d0f656ade7505278ac39ba
[POWERPC] Move phys_addr_t definition into asm/types.h

Moved phys_addr_t out of mmu-*.h and into asm/types.h so we can use it in
places that before would have caused recursive includes.

For example to use phys_addr_t in <asm/page.h> we would have included
<asm/mmu.h> which would have possibly included <asm/mmu-hash64.h> which
includes <asm/page.h>.  Wheeee recursive include.

CONFIG_PHYS_64BIT is a bit counterintuitive in light of ppc64 systems
and thus the config option is only used for ppc32 systems with >32-bit
physical addresses (44x, 85xx, 745x, etc.).

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/mmu-40x.h
include/asm-powerpc/mmu-44x.h
include/asm-powerpc/mmu-8xx.h
include/asm-powerpc/mmu-fsl-booke.h
include/asm-powerpc/mmu-hash32.h
include/asm-powerpc/mmu-hash64.h
include/asm-powerpc/types.h