]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 17:26:11 +0000 (19:26 +0200)
commitf39b5f920977852886e4491d354e72b95935ec0b
tree390e9685635c35a9c8e05b22f5cedc8d832dfc81
parent645305df79c555470ab6728561314ea852e2612f
parisc: Use double word condition in 64bit CAS operation

commit 1b59ddfcf1678de38a1f8ca9fb8ea5eebeff1843 upstream.

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.

Signed-off-by: John David Anglin <dave.anglin>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/syscall.S