diff options
author | Michael Cree <mcree@orcon.net.nz> | 2017-11-24 21:25:01 +1300 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2018-01-20 17:00:56 -0800 |
commit | 84e455361ec97ea6037d31d42a2955628ea2094b (patch) | |
tree | 4c3116275739e2a6241f251a58fb6ce67a0b84d1 /arch/alpha/include/asm/futex.h | |
parent | d437e0659f4a0b683e6fd458b80d979c9fe5f72c (diff) | |
download | op-kernel-dev-84e455361ec97ea6037d31d42a2955628ea2094b.zip op-kernel-dev-84e455361ec97ea6037d31d42a2955628ea2094b.tar.gz |
alpha: Fix mixed up args in EXC macro in futex operations
Fix the typo (mixed up arguments) in the EXC macro in the futex
definitions introduced by commit ca282f697381 (alpha: add a
helper for emitting exception table entries).
Cc: stable@vger.kernel.org # v4.12+
Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/include/asm/futex.h')
-rw-r--r-- | arch/alpha/include/asm/futex.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/alpha/include/asm/futex.h b/arch/alpha/include/asm/futex.h index d2e4da9..ca33225 100644 --- a/arch/alpha/include/asm/futex.h +++ b/arch/alpha/include/asm/futex.h @@ -20,8 +20,8 @@ "3: .subsection 2\n" \ "4: br 1b\n" \ " .previous\n" \ - EXC(1b,3b,%1,$31) \ - EXC(2b,3b,%1,$31) \ + EXC(1b,3b,$31,%1) \ + EXC(2b,3b,$31,%1) \ : "=&r" (oldval), "=&r"(ret) \ : "r" (uaddr), "r"(oparg) \ : "memory") @@ -82,8 +82,8 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, "3: .subsection 2\n" "4: br 1b\n" " .previous\n" - EXC(1b,3b,%0,$31) - EXC(2b,3b,%0,$31) + EXC(1b,3b,$31,%0) + EXC(2b,3b,$31,%0) : "+r"(ret), "=&r"(prev), "=&r"(cmp) : "r"(uaddr), "r"((long)(int)oldval), "r"(newval) : "memory"); |