diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-09-11 16:09:56 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-10-14 14:32:00 +0200 |
commit | e0af21c56ddd592b33f74f986a2cb4478b10786e (patch) | |
tree | c5dd2779855656d9fda7eb7d1b90218b2a3f4599 /arch/s390/kernel/vdso.c | |
parent | s390/dasd: mark DASD devices as non rotational (diff) | |
download | linux-e0af21c56ddd592b33f74f986a2cb4478b10786e.tar.xz linux-e0af21c56ddd592b33f74f986a2cb4478b10786e.zip |
s390/spinlock: use correct barriers
_raw_write_lock_wait first sets the high order bit to indicate a
pending writer and then waits for the reader to drop to zero.
smp_rmb by definition only orders reads against reads. Let's use
a full smp_mb instead. As right now smp_rmb is implemented
as full serialization, this needs no stable backport, but this
patch will be necessary if we reimplement smp_rmb.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/vdso.c')
0 files changed, 0 insertions, 0 deletions