diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2014-08-13 09:02:02 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-13 10:20:41 +0200 |
commit | 7e467245bf5226db34c4b12d3cbacfa2f7a15a8b (patch) | |
tree | 943f6aa4fe6c82e64372cbac2f5e2f94dc015419 /arch/sh/math-emu | |
parent | powerpc/thp: Invalidate with vpn in loop (diff) | |
download | linux-7e467245bf5226db34c4b12d3cbacfa2f7a15a8b.tar.xz linux-7e467245bf5226db34c4b12d3cbacfa2f7a15a8b.zip |
powerpc/thp: Use ACCESS_ONCE when loading pmdp
We would get wrong results in compiler recomputed old_pmd. Avoid
that by using ACCESS_ONCE
CC: <stable@vger.kernel.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/sh/math-emu')
0 files changed, 0 insertions, 0 deletions