sh: Overhaul spinlocks and rwlocks for SH-4A SMP.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 22 Aug 2007 01:34:31 +0000 (10:34 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:51 +0000 (11:57 +0900)
commit8a467a529f01c3471b195a0e8989c6177fe145ef
tree0f3c5bf78acf98c28ebb36110c94d6b8dc2e836b
parentb05d1865b46ea72c66ba082598ba370582bb590e
sh: Overhaul spinlocks and rwlocks for SH-4A SMP.

This rips out some of the old spinlock and rwlock behaviour that the SH-2
parts were using and reworks them for LL/SC semantics on the SH-4A.

This is primarily only useful for SH-X3 multi-cores, but can also be used
for building CONFIG_SMP=y testing kernels on SH-4A UP.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/spinlock.h
include/asm-sh/spinlock_types.h