diff options
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2008-02-07 11:16:13 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 19:42:31 +0300 |
commit | 10b8827068377a11ed0e396248f7d02751fe5f17 (patch) | |
tree | 2ca6e89cc47354ac2cec717e186ede7f24e0b8fd /include/asm-frv/system.h | |
parent | 5e86c11d3eb4662000f3ced7344352b2ca319d03 (diff) | |
download | linux-10b8827068377a11ed0e396248f7d02751fe5f17.tar.xz |
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 <mathieu.desnoyers@polymtl.ca>
Cc: Bryan Wu <bryan.wu@analog.com>
Cc: Michael Frysinger <michael.frysinger@analog.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-frv/system.h')
0 files changed, 0 insertions, 0 deletions