aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/memory.h
diff options
context:
space:
mode:
authorCyril Chemparathy <cyril@ti.com>2012-07-20 12:01:23 -0400
committerWill Deacon <will.deacon@arm.com>2013-05-30 16:02:18 +0100
commit82f667046ec895552caf2f7a4c6841c530bfc215 (patch)
treea9ebf45fc7606fd6c8b8c7d5bce643a6527de454 /arch/arm/include/asm/memory.h
parentARM: LPAE: accomodate >32-bit addresses for page table base (diff)
downloadlinux-dev-82f667046ec895552caf2f7a4c6841c530bfc215.tar.xz
linux-dev-82f667046ec895552caf2f7a4c6841c530bfc215.zip
ARM: mm: use physical addresses in highmem sanity checks
This patch modifies the highmem sanity checking code to use physical addresses instead. This change eliminates the wrap-around problems associated with the original virtual address based checks, and this simplifies the code a bit. The one constraint imposed here is that low physical memory must be mapped in a monotonically increasing fashion if there are multiple banks of memory, i.e., x < y must => pa(x) < pa(y). Signed-off-by: Cyril Chemparathy <cyril@ti.com> Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Acked-by: Nicolas Pitre <nico@linaro.org> Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Subash Patel <subash.rp@samsung.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/include/asm/memory.h')
0 files changed, 0 insertions, 0 deletions