ARM: 6672/1: LPAE: use phys_addr_t instead of unsigned long in mapping functions
authorWill Deacon <will.deacon@arm.com>
Tue, 15 Feb 2011 11:42:57 +0000 (12:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 15 Feb 2011 14:20:23 +0000 (14:20 +0000)
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 converting from a PFN.

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>

No differences found