Home
last modified time | relevance | path

Searched hist:"2 db2008e636327a3caa648ef1e34a9d501d20e2e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/include/asm/nohash/64/
H A Dpgalloc.hdiff 2db2008e636327a3caa648ef1e34a9d501d20e2e Thu Jun 23 03:56:57 CDT 2022 Christophe Leroy <christophe.leroy@csgroup.eu> powerpc/64e: Rewrite p4d_populate() as a static inline function

Rewrite p4d_populate() as a static inline function instead of
a macro.

This change allows typechecking and would have helped detecting
a recently found bug in map_kernel_page().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1b416f8a8fe1bc3f4e01175680ce310b7eb3a1e4.1655974565.git.christophe.leroy@csgroup.eu