MN10300: Implement atomic ops using atomic ops unit
authorMark Salter <msalter@redhat.com>
Wed, 27 Oct 2010 16:28:52 +0000 (17:28 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 27 Oct 2010 16:28:52 +0000 (17:28 +0100)
commit4f81ca13532981192c83da95ed8c8cb285817d99
tree737f558ce1683dacc5a294694cfd9f1a9b6fa972
parent278d91c4609d55202c1e63d5fc5f01466cc7bbab
MN10300: Implement atomic ops using atomic ops unit

Implement atomic ops using the atomic ops unit available in the AM34 CPU.  This
allows the equivalent of the LL/SC instructions to be found on other CPUs.

Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
arch/mn10300/include/asm/atomic.h
arch/mn10300/include/asm/system.h