]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/64s/mm: Move __real_pte stubs into hash-4k.h
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Aug 2024 08:07:29 +0000 (18:07 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:50:51 +0000 (12:50 +0100)
commit61a45806db4632998c71ced7287e38541d56eb2c
tree449044f9bc502e9aa3c38be7d80066b7344967fc
parentb09957657d7767d164b3432af2129bd72947553c
powerpc/64s/mm: Move __real_pte stubs into hash-4k.h

[ Upstream commit 8ae4f16f7d7b59cca55aeca6db7c9636ffe7fbaa ]

The stub versions of __real_pte() etc are only used with HPT & 4K pages,
so move them into the hash-4k.h header.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240821080729.872034-1-mpe@ellerman.id.au
Stable-dep-of: 61bcc752d1b8 ("powerpc/64s: Rewrite __real_pte() and __rpte_to_hidx() as static inline")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/include/asm/book3s/64/hash-4k.h
arch/powerpc/include/asm/book3s/64/pgtable.h