aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2011-02-15 06:44:10 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-21 14:24:13 -0500
commitf60892d3e36dcdd0d9f30db05beae7a446a93f28 (patch)
tree98e44cc9b390303db2b2405764f4105773178ba6 /arch/arm/include/asm
parente33b9d0878ff6b8a543b3423c3019a5dbbf5689a (diff)
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>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/setup.h b/arch/arm/include/asm/setup.h
index f1e5a9bca249..50921182b7c3 100644
--- a/arch/arm/include/asm/setup.h
+++ b/arch/arm/include/asm/setup.h
@@ -199,7 +199,7 @@ static struct tagtable __tagtable_##fn __tag = { tag, fn }
199#endif 199#endif
200 200
201struct membank { 201struct membank {
202 unsigned long start; 202 phys_addr_t start;
203 unsigned long size; 203 unsigned long size;
204 unsigned int highmem; 204 unsigned int highmem;
205}; 205};