]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7923/1: mm: fix dcache flush logic for compound high pages
authorSteven Capper <steve.capper@linaro.org>
Mon, 16 Dec 2013 16:25:52 +0000 (17:25 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Dec 2013 12:46:08 +0000 (12:46 +0000)
commitd68e6625618d1c8e2282458e44e149733f015619
tree0300f36101d0b5dfb9135722053780d232536fed
parent45777afd175b3cabd5dbdab54b24a3eeaed2b180
ARM: 7923/1: mm: fix dcache flush logic for compound high pages

When given a compound high page, __flush_dcache_page will only flush
the first page of the compound page repeatedly rather than the entire
set of constituent pages.

This error was introduced by:
   bea5f82 ARM: mm: Add support for flushing HugeTLB pages.

This patch corrects the logic such that all constituent pages are now
flushed.

Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/flush.c