* [PATCH] alpha: Fix mixed up args in EXC macro in futex operations
@ 2017-11-24 8:25 Michael Cree
2017-11-24 9:06 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Michael Cree @ 2017-11-24 8:25 UTC (permalink / raw)
To: linux
Cc: linux-alpha, Richard Henderson, Ivan Kokshaysky, Matt Turner,
Al Viro, stable, Michael Cree
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).
Signed-off-by: Michael Cree <mcree@orcon.net.nz>
---
arch/alpha/include/asm/futex.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/alpha/include/asm/futex.h b/arch/alpha/include/asm/futex.h
index d2e4da93e68c..ca3322536f72 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");
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] alpha: Fix mixed up args in EXC macro in futex operations
2017-11-24 8:25 [PATCH] alpha: Fix mixed up args in EXC macro in futex operations Michael Cree
@ 2017-11-24 9:06 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2017-11-24 9:06 UTC (permalink / raw)
To: Michael Cree
Cc: linux, linux-alpha, Richard Henderson, Ivan Kokshaysky,
Matt Turner, Al Viro, stable
On Fri, Nov 24, 2017 at 09:25:01PM +1300, Michael Cree wrote:
> 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).
>
> Signed-off-by: Michael Cree <mcree@orcon.net.nz>
> ---
> arch/alpha/include/asm/futex.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
</formletter>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-24 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24 8:25 [PATCH] alpha: Fix mixed up args in EXC macro in futex operations Michael Cree
2017-11-24 9:06 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.