diff options
author | Alexey Kodanev | 2015-03-07 01:06:53 +0100 |
---|---|---|
committer | Paul E. McKenney | 2015-05-27 21:59:56 +0200 |
commit | f548d99ef4f5ec8f7080e88ad07c44d16d058ddc (patch) | |
tree | be050b69831204402b11f6ee79173461ece46017 /tools/testing/selftests/rcutorture | |
parent | rcu: Convert ACCESS_ONCE() to READ_ONCE() and WRITE_ONCE() (diff) | |
download | kernel-qcow2-linux-f548d99ef4f5ec8f7080e88ad07c44d16d058ddc.tar.gz kernel-qcow2-linux-f548d99ef4f5ec8f7080e88ad07c44d16d058ddc.tar.xz kernel-qcow2-linux-f548d99ef4f5ec8f7080e88ad07c44d16d058ddc.zip |
locktorture: fix deadlock in 'rw_lock_irq' type
torture_rwlock_read_unlock_irq() must use read_unlock_irqrestore()
instead of write_unlock_irqrestore().
Use read_unlock_irqrestore() instead of write_unlock_irqrestore().
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture')
0 files changed, 0 insertions, 0 deletions