summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2014-11-25 13:17:34 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-12-18 09:54:41 +0100
commit5de72a2247ac05bde7c89039631b3d0c6186fafb (patch)
tree8ba7addcad7793f8e5ce0034c7f0a41a9039e222 /mm/memory.c
parentarm/spinlock: Replace ACCESS_ONCE with READ_ONCE (diff)
downloadlinux-5de72a2247ac05bde7c89039631b3d0c6186fafb.tar.xz
linux-5de72a2247ac05bde7c89039631b3d0c6186fafb.zip
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 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions