m68k: Fix asm constraints for atomic_sub_and_test() and atomic_add_negative()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 21 Mar 2010 09:52:21 +0000 (10:52 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 14 Apr 2010 17:45:37 +0000 (19:45 +0200)
commitb560177f3e1c6b2d75b220d41ae72636243475c4
tree857756185f30db4f28db6099e74f4cf2933a7553
parent1aac4effad4ea52da94eb13b12e0ca1731407ee4
m68k: Fix asm constraints for atomic_sub_and_test() and atomic_add_negative()

Recently, we started seeing this on allmodconfig builds:

  CC      mm/memcontrol.o
{standard input}: Assembler messages:
{standard input}:4076: Error: operands mismatch -- statement `subl 12(%fp),170(%a0)' ignored

Correct the asm constraint, like done for m68knommu.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/atomic_mm.h