Files
linux/arch/xtensa/include/asm
Max Filippov 1c11f153eb 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:09:47 +01:00
..
2014-04-18 14:20:47 +02:00
2014-04-18 14:20:47 +02:00
2015-08-17 07:33:39 +03:00
2014-01-15 00:28:11 +04:00
2011-03-31 11:26:23 -03:00
2013-02-23 19:35:57 -08:00
2009-04-02 23:41:29 -07:00
2014-12-09 03:22:57 +03:00
2017-06-17 06:39:38 +02:00
2015-08-17 07:33:39 +03:00
2014-01-14 10:19:58 -08:00
2014-01-14 10:19:58 -08:00
2014-10-21 13:28:58 +04:00
2015-05-05 13:35:39 -06:00
2014-01-15 00:27:03 +04:00
2015-08-17 07:33:39 +03:00
2014-01-14 10:19:58 -08:00
2014-01-14 10:19:59 -08:00
2013-02-23 19:22:31 -08:00
2014-01-14 10:19:58 -08:00
2015-08-17 07:33:35 +03:00
2015-01-13 15:24:10 +02:00