]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:21:48 +0000 (11:21 +1000)
commitc00e200f3d21544d3c84b16a2da9db5b23642251
tree306b33abc3a2ff92d7de5bad43b0195637a7313a
parent4df245c5f3fc49d79bb20118f7b1d54dc0354ea8
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