aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/mm
diff options
context:
space:
mode:
authorChristian Borntraeger2014-11-25 13:17:34 +0100
committerChristian Borntraeger2014-12-18 09:54:41 +0100
commit5de72a2247ac05bde7c89039631b3d0c6186fafb (patch)
tree8ba7addcad7793f8e5ce0034c7f0a41a9039e222 /arch/mips/mm
parent488beef1440e845751365202faace2465840ea98 (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 'arch/mips/mm')
0 files changed, 0 insertions, 0 deletions