]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ARM: 2784/1: Fix the block cache flush operation range
authorCatalin Marinas <catalin.marinas@arm.com>
Sun, 3 Jul 2005 16:53:25 +0000 (17:53 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 3 Jul 2005 16:53:25 +0000 (17:53 +0100)
commit0d670b413f042eccdffc45bafb9840244752707f
tree5658514d70f4a62ae2268f1837a3d05e3b87bfba
parent75f631dc45c7327df26b82b9aea69376a306409c
[PATCH] ARM: 2784/1: Fix the block cache flush operation range

Patch from Catalin Marinas

The range for the ARMv6 block cache operations is inclusive but the
kernel doesn't re-calculate the end address, causing a page fault when
used (this only happens with support for cache aliasing, otherwise the
blk_flush_kern_dcache_page() is not called). This patch subtracts
L1_CACHE_BYTES from the end address.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/blockops.c