parisc: Use double word condition in 64bit CAS operation

commit 1b59ddfcf1 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: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
John David Anglin 2015-09-07 20:13:28 -04:00 • committed by Luis Henriques
commit 76f41c550c