]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 6272/1: Convert L2x0 to use the IO relaxed operations
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Jul 2010 21:01:25 +0000 (22:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 Jul 2010 13:04:36 +0000 (14:04 +0100)
commit3d97af6da0f5957a2703665bd7ad18dea626e8b7
treee4428d3915151d3718a9687f843ecec115aeb546
parent70544e0528d5b3c2e2b22387615ef5b8f0ac1ac3
ARM: 6272/1: Convert L2x0 to use the IO relaxed operations

This patch is in preparation for a subsequent patch which adds barriers
to the I/O accessors. Since the mandatory barriers may do an L2 cache
sync, this patch avoids a recursive call into l2x0_cache_sync() via the
write*() accessors and wmb() and a call into l2x0_cache_sync() with the
l2x0_lock held.

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