diff options
author | Mathieu Desnoyers | 2008-02-07 00:16:13 -0800 |
---|---|---|
committer | Linus Torvalds | 2008-02-07 08:42:31 -0800 |
commit | 10b8827068377a11ed0e396248f7d02751fe5f17 (patch) | |
tree | 2ca6e89cc47354ac2cec717e186ede7f24e0b8fd /init | |
parent | 5e86c11d3eb4662000f3ced7344352b2ca319d03 (diff) |
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 'init')
0 files changed, 0 insertions, 0 deletions