]> 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>
Fri, 7 Mar 2025 15:56:34 +0000 (16:56 +0100)
commite574bf58c34a8dcfdcfc25d8f63908965e8d74f7
tree0135262cf929de7c19f2ece2b597771706e28b04
parent5a0b0bc44f688f1298f576385b6a114438787b06
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