diff options
author | Jungseung Lee | 2014-11-29 02:54:27 +0100 |
---|---|---|
committer | Russell King | 2014-12-03 17:00:04 +0100 |
commit | 12e669b4874274caaefd20d3c729471b8ebe8d93 (patch) | |
tree | acd436ae033e6eab6bebd3ab63062d14963b686b /arch/arm/mm/pageattr.c | |
parent | ARM: 8236/1: mm: fix discard_old_kernel_data (diff) | |
download | kernel-qcow2-linux-12e669b4874274caaefd20d3c729471b8ebe8d93.tar.gz kernel-qcow2-linux-12e669b4874274caaefd20d3c729471b8ebe8d93.tar.xz kernel-qcow2-linux-12e669b4874274caaefd20d3c729471b8ebe8d93.zip |
ARM: 8237/1: fix flush_pfn_alias
L1_CACHE_BYTES could be larger than real L1 cache line size.
In that case, flush_pfn_alias() would omit to flush 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