commit | fe4130131ef9e55763fd634a02b1db9290dbbe5a | [log] [tgz] |
---|---|---|
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | Thu Feb 07 00:16:24 2008 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Thu Feb 07 08:42:32 2008 -0800 |
tree | 523a97bd9f3b9302edfb80c5175ec9a528c1b807 | |
parent | 85fdbe1b4b33b797321bfadf706b355e7cca6165 [diff] |
Add cmpxchg_local to s390 Use the standard __cmpxchg for every type that can be updated atomically. Use the new generic cmpxchg_local (disables interrupt) for other types. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>