summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-08 17:02:17 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-01-08 17:02:17 +0900
commit8c0b8139c87cfe8b95c6e763b4ca3190aa9b1ad0 (patch)
tree79ee3c612843d11d5b3fbebb8d00ca956a044316 /arch/sh/boards
parent56d45b62ce622a003da972428fdbba2b42102efb (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