linux-stable/arch/parisc/include
John David Anglin c576d7a197 parisc: Fix mask used to select futex spinlock
commit d3a5a68cff upstream.

The address bits used to select the futex spinlock need to match those used in
the LWS code in syscall.S. The mask 0x3f8 only selects 7 bits.  It should
select 8 bits.

This change fixes the glibc nptl/tst-cond24 and nptl/tst-cond25 tests.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Fixes: 53a42b6324 ("parisc: Switch to more fine grained lws locks")
Cc: stable@vger.kernel.org # 5.10+
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-29 12:28:53 +01:00
..
asm parisc: Fix mask used to select futex spinlock 2021-12-29 12:28:53 +01:00
uapi/asm parisc: Drop __arch_swab16(), arch_swab24(), _arch_swab32() and __arch_swab64() functions 2021-09-02 23:54:03 +02:00