Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h
authorDavid Howells <dhowells@redhat.com>
Wed, 28 Mar 2012 17:30:03 +0000 (18:30 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 28 Mar 2012 17:30:03 +0000 (18:30 +0100)
commitb4816afa3986704d1404fc48e931da5135820472
treee2d0d5779c55528e0439eee359d46bc9a2c017f7
parent885df91ca3571afd4b3f50f3391329bbf3c9e262
Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h

Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h
to simplify disintegration of asm/system.h.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/cmpxchg.h
include/asm-generic/system.h