From: Will Deacon Date: Tue, 15 Feb 2011 16:28:28 +0000 (+0100) Subject: ARM: 6675/1: use phys_addr_t instead of unsigned long in conversion code X-Git-Tag: v2.6.39-rc1~463^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a6b1676c6f27f7fad1a3d6fab5a95f90b1e7402;p=pandora-kernel.git ARM: 6675/1: use phys_addr_t instead of unsigned long in conversion code The unsigned long datatype is not sufficient for mapping physical addresses >= 4GB. This patch ensures that the address conversion code in asm/memory.h casts to the correct type when handling physical addresses. The internal v2p macros only deal with lowmem addresses, so these do not need to be modified. Acked-by: Catalin Marinas Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed