ARM: 8237/1: fix flush_pfn_alias
authorJungseung Lee <js07.lee@gmail.com>
Sat, 29 Nov 2014 01:54:27 +0000 (02:54 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 3 Dec 2014 16:00:04 +0000 (16:00 +0000)
commit12e669b4874274caaefd20d3c729471b8ebe8d93
treeacd436ae033e6eab6bebd3ab63062d14963b686b
parent802318743a449f74d3fc952ad7cdcbd3a44dcdc2
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>
arch/arm/mm/flush.c
This page took 0.024967 seconds and 5 git commands to generate.