summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/pageattr.c
diff options
context:
space:
mode:
authorJungseung Lee2014-11-29 02:51:49 +0100
committerRussell King2014-12-03 17:00:04 +0100
commit802318743a449f74d3fc952ad7cdcbd3a44dcdc2 (patch)
treebdb843d4a5e0db7c24bb89e446d2553ac49987c9 /arch/arm/mm/pageattr.c
parentARM: 8235/1: Support for the PXN CPU feature on ARMv7 (diff)
downloadkernel-qcow2-linux-802318743a449f74d3fc952ad7cdcbd3a44dcdc2.tar.gz
kernel-qcow2-linux-802318743a449f74d3fc952ad7cdcbd3a44dcdc2.tar.xz
kernel-qcow2-linux-802318743a449f74d3fc952ad7cdcbd3a44dcdc2.zip
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 <js07.lee@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/pageattr.c')
0 files changed, 0 insertions, 0 deletions