]> Git Repo - linux.git/commit
Add cmpxchg_local to blackfin, replace __cmpxchg by generic cmpxchg
authorMathieu Desnoyers <[email protected]>
Thu, 7 Feb 2008 08:16:13 +0000 (00:16 -0800)
committerLinus Torvalds <[email protected]>
Thu, 7 Feb 2008 16:42:31 +0000 (08:42 -0800)
commit10b8827068377a11ed0e396248f7d02751fe5f17
tree2ca6e89cc47354ac2cec717e186ede7f24e0b8fd
parent5e86c11d3eb4662000f3ced7344352b2ca319d03
Add cmpxchg_local to blackfin, replace __cmpxchg by generic cmpxchg

Use the new generic cmpxchg_local (disables interrupt). Also use the generic
cmpxchg as fallback if SMP is not set since nobody seems to know why __cmpxchg
has been implemented in assembly in the first place thather than in plain C.

Signed-off-by: Mathieu Desnoyers <[email protected]>
Cc: Bryan Wu <[email protected]>
Cc: Michael Frysinger <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/asm-blackfin/system.h
This page took 0.052055 seconds and 4 git commands to generate.