diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-01-06 22:47:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-06 14:57:43 -0800 |
commit | 2a806d27573f9a2df193e5a374fe8e452be9c6c7 (patch) | |
tree | edc6bbe0cadd6aecf0e97daa947c0cd42e15d6a1 /.mailmap | |
parent | dd4c10858bb00704df476ef17a0b3037b909e4f5 (diff) | |
download | lwn-2a806d27573f9a2df193e5a374fe8e452be9c6c7.tar.gz lwn-2a806d27573f9a2df193e5a374fe8e452be9c6c7.zip |
ppc/hugetlbfs: Replace ACCESS_ONCE with READ_ONCE
commit da1a288d8562739aa8ba0273d4fb6b73b856c0d3 upstream.
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)
Change the ppc/hugetlbfs code to replace ACCESS_ONCE with READ_ONCE.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions