Files
linux/arch/xtensa/include/asm
Max Filippov e68d638e49 xtensa: fix futex_atomic_cmpxchg_inatomic
commit ca47480921 upstream.

Return 0 if the operation was successful, not the userspace memory
value. Check that userspace value equals passed oldval, not itself.
Don't update *uval if the value wasn't read from userspace memory.

This fixes process hang due to infinite loop in futex_lock_pi.
It also fixes a bunch of glibc tests nptl/tst-mutexpi*.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-16 20:23:07 +01:00
..
2016-01-12 20:46:58 +02:00
2016-07-24 06:33:29 +03:00
2015-08-17 07:33:39 +03:00
2014-01-15 00:28:11 +04:00
2017-06-20 11:13:07 +02:00
2011-03-31 11:26:23 -03:00
2013-02-23 19:35:57 -08:00
2017-06-05 16:53:10 -07:00
2014-01-14 10:19:58 -08:00
2014-01-14 10:19:58 -08:00
2014-01-15 00:27:03 +04:00
2014-01-14 10:19:59 -08:00
2013-02-23 19:22:31 -08:00