]> git.baikalelectronics.ru Git - kernel.git/commit
Add cmpxchg_local to arm
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 7 Feb 2008 08:16:11 +0000 (00:16 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:31 +0000 (08:42 -0800)
commit9cdbe3527682097e6729c3c2b276b9caf93ae3db
treef5d64f19a7db6da5d694c209fa8ac2d6ce43dd29
parent75d63ffaaa47b25c307b8016e5d63c1191a03f72
Add cmpxchg_local to arm

Use the new generic cmpxchg_local (disables interrupt). Also use the generic
cmpxchg as fallback if SMP is not set.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-arm/system.h