]> git.baikalelectronics.ru Git - kernel.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)
commit28b7cbe47d8982ce8705a772800117e008ba5699
tree77bbe460bdef1ba54a9108178c127475039e993e
parent0fe0ff70cac7ed02f6b87da38f119331b50c4718
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