]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: LPAE: mark memory banks with start > ULONG_MAX as highmem
authorWill Deacon <will.deacon@arm.com>
Mon, 31 Jan 2011 13:50:46 +0000 (13:50 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 20 Sep 2011 13:17:42 +0000 (14:17 +0100)
commitef74101ad28c8fff1f7143714c932f66c6ad8604
tree45c4db415e06d37e992970a1f3631b2c3b66ada1
parenta4cea63e466f5b351d535a3b07897646a0c24952
ARM: LPAE: mark memory banks with start > ULONG_MAX as highmem

Memory banks living outside of the 32-bit physical address
space do not have a 1:1 pa <-> va mapping and therefore the
__va macro may wrap.

This patch ensures that such banks are marked as highmem so
that the Kernel doesn't try to split them up when it sees that
the wrapped virtual address overlaps the vmalloc space.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/mm/mmu.c