]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4323b677a080e7deb362336b512b65299387cf7
treef312a8b02c2f5103a067172f4934f4afc60af0a2
parentd4d53a1b17f4d34a2f4ba34585b085fd4e26be8b
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