diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-08 17:02:17 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-08 17:02:17 +0900 |
commit | 8c0b8139c87cfe8b95c6e763b4ca3190aa9b1ad0 (patch) | |
tree | 79ee3c612843d11d5b3fbebb8d00ca956a044316 /arch/sh/boards | |
parent | 56d45b62ce622a003da972428fdbba2b42102efb (diff) |
sh: consolidate atomic_cmpxchg()/atomic_add_unless() definitions.
The LL/SC and IRQ versions were using generic stubs while the GRB version
was just reimplementing what it already had for the standard cmpxchg()
code. As we have optimized cmpxchg() implementations that are decoupled
from the atomic code, simply falling back on the generic wrapper does the
right thing. With this in place the GRB case is unaffected while the
LL/SC case gets to use its optimized cmpxchg().
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards')
0 files changed, 0 insertions, 0 deletions