]> git.baikalelectronics.ru Git - kernel.git/commit
Add cmpxchg_local to h8300
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 7 Feb 2008 08:16:15 +0000 (00:16 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:32 +0000 (08:42 -0800)
commitf9157ea819b79b5dc624b0dee5468d72ffd47367
tree0f4b5f17120b93193d06dcf9f6ca270f2c06c5fc
parent14d9c1f1f86f5a113a02743e592b6fef53d0194a
Add cmpxchg_local to h8300

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: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-h8300/system.h