]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit6775a558fece413376e1dacd435adb5fbe225f40
treee4428d3915151d3718a9687f843ecec115aeb546
parente936771a76a7b61ca55a5142a3de835c2e196871
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