From: Cyril Chemparathy Date: Fri, 20 Jul 2012 17:16:41 +0000 (-0400) Subject: ARM: mm: clean up membank size limit checks X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~41^2^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28d4bf7a2929c5e525171d249e12662e21130ec3;p=pandora-kernel.git ARM: mm: clean up membank size limit checks This patch cleans up the highmem sanity check code by simplifying the range checks with a pre-calculated size_limit. This patch should otherwise have no functional impact on behavior. This patch also removes a redundant (bank->start < vmalloc_limit) check, since this is already covered by the !highmem condition. 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