From: Jungseung Lee Date: Sat, 29 Nov 2014 01:51:49 +0000 (+0100) Subject: ARM: 8236/1: mm: fix discard_old_kernel_data X-Git-Tag: omap-for-v3.20/drop-legacy-3517~102^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=802318743a449f74d3fc952ad7cdcbd3a44dcdc2;p=pandora-kernel.git ARM: 8236/1: mm: fix discard_old_kernel_data L1_CACHE_BYTES could be larger value than real L1 cache line size. In that case, discard_old_kernel_data() would omit to invalidate last bytes as much as L1_CACHE_BYTES - real cache line size. So fix end address to "to + PAGE_SIZE -1". The bottom bits of the address is LINELEN. that is ignored by mcrr. Signed-off-by: Jungseung Lee Signed-off-by: Russell King --- Reading git-diff-tree failed