diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-11-25 13:17:34 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-12-18 09:54:41 +0100 |
commit | 5de72a2247ac05bde7c89039631b3d0c6186fafb (patch) | |
tree | 8ba7addcad7793f8e5ce0034c7f0a41a9039e222 /net/8021q | |
parent | 488beef1440e845751365202faace2465840ea98 (diff) |
s390/kvm: REPLACE barrier fixup with READ_ONCE
ACCESS_ONCE does not work reliably on non-scalar types. For
example gcc 4.6 and 4.7 might remove the volatile tag for such
accesses during the SRA (scalar replacement of aggregates) step
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145)
Commit 1365039d0cb3 ("KVM: s390: Fix ipte locking") replace
ACCESS_ONCE with barriers. Lets use READ_ONCE instead.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions