]> err.no Git - linux-2.6/commit
Add cmpxchg_local to xtensa
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 7 Feb 2008 08:16:26 +0000 (00:16 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:33 +0000 (08:42 -0800)
commit9a7744f9823b9ddf14c47c475e81c1326b1a2787
treea5969eab412bb34aa0f38c6a12a5fffe5553b2ce
parentb62f13439147210d5ad4bc40acee32b94c59f06d
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>
include/asm-xtensa/system.h