kernel-hacking-2024-linux-s.../arch/s390/lib
Gerald Schaefer 2e4006b34d s390/spinlock: fix system hang with spin_retry <= 0
On LPAR, when spin_retry is set to <= 0, arch_spin_lock_wait() and
arch_spin_lock_wait_flags() may end up in a while(1) loop w/o doing
any compare and swap operation. To fix this, use do/while instead of
for loop.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2014-05-20 08:58:52 +02:00
..
delay.c s390/time: correct use of store clock fast 2013-10-22 09:16:40 +02:00
div64.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
find.c s390/bitops: fix comment 2014-02-21 08:50:20 +01:00
Makefile s390/uaccess: rework uaccess code - fix locking issues 2014-04-03 14:31:04 +02:00
mem32.S s390/string: provide asm lib functions for memcpy and memcmp 2012-09-26 15:44:50 +02:00
mem64.S s390/string: provide asm lib functions for memcpy and memcmp 2012-09-26 15:44:50 +02:00
qrnnd.S
spinlock.c s390/spinlock: fix system hang with spin_retry <= 0 2014-05-20 08:58:52 +02:00
string.c s390/string: provide asm lib functions for memcpy and memcmp 2012-09-26 15:44:50 +02:00
uaccess.c s390/uaccess: simplify control register updates 2014-05-20 08:58:46 +02:00
ucmpdi2.c