diff options
author | Will Deacon <will.deacon@arm.com> | 2011-02-15 17:28:28 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-17 23:27:34 +0000 |
commit | 3a6b1676c6f27f7fad1a3d6fab5a95f90b1e7402 (patch) | |
tree | 7457d1896dae7e61bfad76f6d26e2d84a1b3ae7e /net | |
parent | 4d901c4271951d110afb13ee9aa73d27a6c8e53d (diff) |
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 <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 'net')
0 files changed, 0 insertions, 0 deletions