]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
generic: add phys_addr_t for holding physical addresses
authorJeremy Fitzhardinge <jeremy@goop.org>
Thu, 11 Sep 2008 08:31:45 +0000 (01:31 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Sep 2008 15:24:25 +0000 (17:24 +0200)
commit600715dcdf567c86f8b2c6173fcfb4b873e25a19
treec2f3ed1c928d3cc47af0573b56c8da2f1df880a0
parent9dfed08eb4086584205717894177a9ee930c88c4
generic: add phys_addr_t for holding physical addresses

Add a kernel-wide "phys_addr_t" which is guaranteed to be able to hold
any physical address.  By default it equals the word size of the
architecture, but a 32-bit architecture can set ARCH_PHYS_ADDR_T_64BIT
if it needs a 64-bit phys_addr_t.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/Kconfig
arch/powerpc/include/asm/types.h
arch/x86/Kconfig
include/asm-x86/page_32.h
include/asm-x86/page_64.h
include/linux/types.h
mm/Kconfig