diff options
author | Aoi Shinkai <shinkoi2005@gmail.com> | 2009-06-10 18:15:42 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-11 08:31:55 +0200 |
commit | 4c7c99788631bab177bd51e15e893be4689bb085 (patch) | |
tree | 52e50e0b2a30b31dc8c6460e98279b3c1b47c476 /arch/sh/include/asm/rwsem.h | |
parent | sh: sh7724: Add JPU support (diff) | |
download | linux-4c7c99788631bab177bd51e15e893be4689bb085.tar.xz linux-4c7c99788631bab177bd51e15e893be4689bb085.zip |
sh: Fix sh4a llsc-based cmpxchg()
This fixes up a typo in the ll/sc based cmpxchg code which apparently
wasn't getting a lot of testing due to the swapped old/new pair. With
that fixed up, the ll/sc code also starts using it and provides its own
atomic_add_unless().
Signed-off-by: Aoi Shinkai <shinkoi2005@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/rwsem.h')
0 files changed, 0 insertions, 0 deletions