m68k: fix some atomic operation asm address modes for ColdFire
authorGreg Ungerer <gerg@uclinux.org>
Mon, 4 Jul 2011 05:30:55 +0000 (15:30 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Mon, 25 Jul 2011 01:20:41 +0000 (11:20 +1000)
commit35de674982aa13de98cf470c640895164017563e
treed4223dbd6880b9fcb04a4755e2daf63b97e389b4
parentf3c23a28ace0a42ea06b5860b3bd25f71fc14c89
m68k: fix some atomic operation asm address modes for ColdFire

The ColdFire processors have a much more limited set of addressing modes
that can be used for most instructions. A number of the atomic operations
have already been fixed to limit the addressing modes used with add and
sub instructions when building for ColdFire. But we missed a few.
Fix the remaining atomic operations to be clean for ColdFire processors.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/atomic.h