diff options
author | 2011-02-15 17:28:28 +0100 | |
---|---|---|
committer | 2011-02-17 23:27:34 +0000 | |
commit | 3a6b1676c6f27f7fad1a3d6fab5a95f90b1e7402 (patch) | |
tree | 7457d1896dae7e61bfad76f6d26e2d84a1b3ae7e /kernel/fork.c | |
parent | ARM: 6648/1: map ATAGs when not in first 1MB of RAM (diff) | |
download | wireguard-linux-3a6b1676c6f27f7fad1a3d6fab5a95f90b1e7402.tar.xz wireguard-linux-3a6b1676c6f27f7fad1a3d6fab5a95f90b1e7402.zip |
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 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions