powerpc/8xx: Modify ptep_get()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 18 Jun 2020 12:07:46 +0000 (12:07 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 22 Jun 2020 10:37:33 +0000 (20:37 +1000)
commit105fb38124a490f38e9c1e23bb4c4a0b6ba12fdb
treef312a8b02c2f5103a067172f4934f4afc60af0a2
parent86590e524ee834b629afc55d8e5786091fbf84cc
powerpc/8xx: Modify ptep_get()

Move ptep_get() close to pte_update(), in an ifdef section already
dedicated to powerpc 8xx. This section contains explanation about
the layout of page table entries.

Also modify it to return 4 times the pte value instead of padding
with zeroes.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/9f2df6621fcaf9eba15fadc61c169d0c8e2fb849.1592481938.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/nohash/32/pgtable.h