]> git.karo-electronics.de Git - karo-tx-linux.git/commit
parisc: Use double word condition in 64bit CAS operation
authorJohn David Anglin <dave.anglin@bell.net>
Tue, 8 Sep 2015 00:13:28 +0000 (20:13 -0400)
committerHelge Deller <deller@gmx.de>
Tue, 8 Sep 2015 14:15:54 +0000 (16:15 +0200)
commit1b59ddfcf1678de38a1f8ca9fb8ea5eebeff1843
tree77bbe460bdef1ba54a9108178c127475039e993e
parentb1b4e435e4ef7de77f07bf2a42c8380b960c2d44
parisc: Use double word condition in 64bit CAS operation

The attached change fixes the condition used in the "sub" instruction.
A double word comparison is needed.  This fixes the 64-bit LWS CAS
operation on 64-bit kernels.

I can now enable 64-bit atomic support in GCC.

Cc: <stable@vger.kernel.org>
Signed-off-by: John David Anglin <dave.anglin>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/syscall.S