]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 6673/1: LPAE: use phys_addr_t instead of unsigned long for start of membanks
authorWill Deacon <will.deacon@arm.com>
Tue, 15 Feb 2011 11:44:10 +0000 (12:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 21 Feb 2011 19:24:13 +0000 (19:24 +0000)
commitf60892d3e36dcdd0d9f30db05beae7a446a93f28
tree98e44cc9b390303db2b2405764f4105773178ba6
parente33b9d0878ff6b8a543b3423c3019a5dbbf5689a
ARM: 6673/1: LPAE: use phys_addr_t instead of unsigned long for start of membanks

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
the start address of a membank, which may reside above the 4GB boundary.

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/setup.h
arch/arm/kernel/setup.c