Home
last modified time | relevance | path

Searched hist:"939 c5ae4" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/s390/lib/
H A Dspinlock.c939c5ae4 Fri May 16 02:35:02 CDT 2014 Martin Schwidefsky <schwidefsky@de.ibm.com> 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: Martin Schwidefsky <schwidefsky@de.ibm.com>
939c5ae4 Fri May 16 02:35:02 CDT 2014 Martin Schwidefsky <schwidefsky@de.ibm.com> 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: Martin Schwidefsky <schwidefsky@de.ibm.com>