From: Arnd Bergmann Date: Tue, 16 May 2023 16:06:37 +0000 (+0200) Subject: arm64: module-plts: inline linux/moduleloader.h X-Git-Tag: block-6.5-2023-07-03~52^2~1^3~5 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=60a0aab7463ee69296692d980b96510ccce3934e;p=linux-block.git arm64: module-plts: inline linux/moduleloader.h module_frob_arch_sections() is declared in moduleloader.h, but that is not included before the definition: arch/arm64/kernel/module-plts.c:286:5: error: no previous prototype for 'module_frob_arch_sections' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann Reviewed-by: Kees Cook Acked-by: Ard Biesheuvel Link: https://lore.kernel.org/r/20230516160642.523862-11-arnd@kernel.org Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/kernel/module-plts.c b/arch/arm64/kernel/module-plts.c index 543493bf924d..ad02058756b5 100644 --- a/arch/arm64/kernel/module-plts.c +++ b/arch/arm64/kernel/module-plts.c @@ -7,6 +7,7 @@ #include #include #include +#include #include static struct plt_entry __get_adrp_add_pair(u64 dst, u64 pc,