]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Sep 2010 00:21:39 +0000 (17:21 -0700)
commit74845b58bc3d60d50acd754d3f33fb5a245b7974
tree73f1f8e0b69ee544fb0a71dc78969192d74f69ea
parente1155f2ae2c0562b4efe8b2b5165ad911be0d008
MIPS: Quit using undefined behavior of ADDU in 64-bit atomic operations.

commit f2a68272d799bf4092443357142f63b74f7669a1 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/mips/include/asm/atomic.h