]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: fix missing cmpxchg file error from system.h split
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 1 Apr 2012 20:38:42 +0000 (16:38 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 2 Apr 2012 21:41:26 +0000 (14:41 -0700)
commitb7b69f9762bb394b788fa91c37a33c05e36b0a88
tree4fdfdd44fbbf3e62cb4a9691dd537955ee91a072
parent9d981eaec0f0547dedb2fd6517179f7b79e36051
parisc: fix missing cmpxchg file error from system.h split

Commit 3ee6fac7e03c ("Move the asm-generic/system.h xchg()
implementation to asm-generic/cmpxchg.h") introduced the concept of
asm/cmpxchg.h but the parisc arch never got one.  Fork the cmpxchg
content out of the asm/atomic.h file to create one.

Some minor whitespace fixups were done on the block of code that created
the new file.

Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/parisc/include/asm/atomic.h
arch/parisc/include/asm/cmpxchg.h [new file with mode: 0644]