History log of /arch/sh/include/asm/cmpxchg-llsc.h
Revision Date Author Comments
4c7c99788631bab177bd51e15e893be4689bb085 10-Jun-2009 Aoi Shinkai <shinkoi2005@gmail.com> 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>
42990701f938b9318e46102d9919ceb28e5b0e6d 20-Jan-2009 Matt Fleming <matt@console-pimps.org> sh: Relax inline assembly constraints

When dereferencing the memory address contained in a register and
modifying the value at that memory address, the register should not be
listed in the inline asm outputs. The value at the memory address is an
output (which is taken care of with the "memory" clobber), not the register.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
ee43a8442bd7a5d611f11958e6f8c8953d26f907 07-Aug-2008 Paul Mundt <lethal@linux-sh.org> sh: Provide movli.l/movco.l-based cmpxchg.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>