Skip to content
Commit 939c5ae4 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/rwlock: add missing local_irq_restore calls



The out of line _raw_read_lock_wait_flags/_raw_write_lock_wait_flags
functions for the arch_read_lock_flags/arch_write_lock_flags  calls
fail to re-enable the interrupts after another unsuccessful try to
get the lock with compare-and-swap. The following wait would be
done with interrupts disabled which is suboptimal.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent bae8f567
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment