MIPS: Quit using undefined behavior of ADDU in 64-bit atomic operations.
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 22 Jul 2010 18:59:27 +0000 (11:59 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Jul 2010 18:08:18 +0000 (19:08 +0100)
commitf2a68272d799bf4092443357142f63b74f7669a1
tree48be33969b0dde9d5928b7ceb5fa375b30bf57ac
parent31c984a5acabea5d8c7224dc226453022be46f33
MIPS: Quit using undefined behavior of ADDU in 64-bit atomic operations.

For 64-bit, we must use DADDU and DSUBU.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1483/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/atomic.h