commit | 405321d3ab2b41960e2874f2f74609daffbc7a4c | [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 | af0d51539011d57b2df0df6c69171433f9d60ff8 | |
parent | fe4130131ef9e55763fd634a02b1db9290dbbe5a [diff] |
Add cmpxchg_local to sparc, move __cmpxchg to system.h Move cmpxchg and add cmpxchg_local to system.h. Use the new generic cmpxchg_local (disables interrupt). Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Cc: William Lee Irwin III <wli@holomorphy.com> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>