commit | 9a7744f9823b9ddf14c47c475e81c1326b1a2787 | [log] [tgz] |
---|---|---|
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | Thu Feb 07 00:16:26 2008 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Thu Feb 07 08:42:33 2008 -0800 |
tree | a5969eab412bb34aa0f38c6a12a5fffe5553b2ce | |
parent | b62f13439147210d5ad4bc40acee32b94c59f06d [diff] |
Add cmpxchg_local to xtensa Use the architecture specific __cmpxchg_u32 for 32 bits cmpxchg)_local. Else, use the new generic cmpxchg_local (disables interrupt). Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>