[ARM] 4500/1: Add locking around the background L2x0 cache operations
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 20 Jul 2007 10:42:40 +0000 (11:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 20 Jul 2007 20:29:44 +0000 (21:29 +0100)
commit0762097625711e829a008b64f42dc0ec74abb284
tree3300d8960eb6c2ca326bc5f2b4ad60b8b0b1f9a8
parent13a63ab289627e977a045864b36792cf0b61364a
[ARM] 4500/1: Add locking around the background L2x0 cache operations

The background operations of the L2x0 cache controllers are aborted if
another operation is issued on the same or different core. This patch
protects the maintenance operation issuing/polling with a spinlock.

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