From: Cyril Chemparathy Date: Fri, 20 Jul 2012 16:01:23 +0000 (-0400) Subject: ARM: mm: use physical addresses in highmem sanity checks X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~41^2^2~3^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82f667046ec895552caf2f7a4c6841c530bfc215;p=pandora-kernel.git 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 Signed-off-by: Vitaly Andrianov Acked-by: Nicolas Pitre Tested-by: Santosh Shilimkar Tested-by: Subash Patel Signed-off-by: Will Deacon --- Reading git-diff-tree failed