summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2020-06-15 15:57:57 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-06-20 15:14:53 +0300
commit55ca22633a9faa34c6a61d99433f9cc8e28dd7cc (patch)
tree29d1d4b264dfef7461e611240fabcf18d7261ec4 /include/asm-generic
parent1497eea68624f6076bf3eaf66baec3771ea04045 (diff)
downloadlinux-55ca22633a9faa34c6a61d99433f9cc8e28dd7cc.tar.xz
mm/gup: Use huge_ptep_get() in gup_hugepte()
gup_hugepte() reads hugepage table entries, it can't read them directly, huge_ptep_get() must be used. Fixes: 9e343b467c70 ("READ_ONCE: Enforce atomicity for {READ,WRITE}_ONCE() memory accesses") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Acked-by: Will Deacon <will@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/ffc3714334c3bfaca6f13788ad039e8759ae413f.1592225558.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions