commit | 2f92447f9f96583112420aa3cfb400ded55f667e | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | Tue May 05 12:47:12 2020 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue May 05 21:20:14 2020 +1000 |
tree | ddf1f301ca478c1aa3a82cf1c64c639e2921be86 | |
parent | 7900757ce1b4affda1591aa3fd073e27d202f406 [diff] |
powerpc/book3s64/hash: Use the pte_t address from the caller Don't fetch the pte value using lockless page table walk. Instead use the value from the caller. hash_preload is called with ptl lock held. So it is safe to use the pte_t address directly. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200505071729.54912-6-aneesh.kumar@linux.ibm.com