ARM: 6671/1: LPAE: use phys_addr_t instead of unsigned long in outercache functions
authorWill Deacon <will.deacon@arm.com>
Tue, 15 Feb 2011 11:41:49 +0000 (12:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 15 Feb 2011 14:20:22 +0000 (14:20 +0000)
commitad6b9c9d78b9beebef02ac7f566a08db7be3c320
tree3abfb25f7b190d2976f03d65bc4e23ac2afd747d
parent29a38193c15bd72ba96c57a805443ef46ea6a6ac
ARM: 6671/1: LPAE: use phys_addr_t instead of unsigned long in outercache functions

The unsigned long datatype is not sufficient for mapping physical addresses
>= 4GB.

This patch ensures that the phys_addr_t datatype is used to represent
physical addresses when passed to the outer cache functions. Note that the
definitions in struct outer_cache_fns remain as unsigned long because there
are currently no outer cache implementations supporting physical addresses
wider than 32-bits.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/outercache.h