OSDN Git Service

powerpc: Remove in_kernel_text()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sun, 27 Jun 2021 17:09:18 +0000 (17:09 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 10 Aug 2021 13:14:55 +0000 (23:14 +1000)
commit09ca497528dac12cbbceab8197011c875a96d053
tree2489e54e1ce328fd3a94ece0f1f80a92a87fc856
parentcf9c615cde49fb5d2480549c8c955a0a387798d3
powerpc: Remove in_kernel_text()

Last user of in_kernel_text() stopped using in with
commit 549e8152de80 ("powerpc: Make the 64-bit kernel as a
position-independent executable").

Generic function is_kernel_text() does the same.

So remote it.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/2a3a5b6f8cc0ef4e854d7b764f66aa8d2ee270d2.1624813698.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/sections.h