]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: module-plts: inline linux/moduleloader.h
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2023 16:06:37 +0000 (18:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 Sep 2023 07:18:13 +0000 (09:18 +0200)
commit943ed7dc5ee42382f4be4de6fc404490d9c424a3
treef55ff78925625d78f0e04192381a2f2685de2225
parentecd62c85120dc74b07c5ccd1532de121e81a4dba
arm64: module-plts: inline linux/moduleloader.h

commit 60a0aab7463ee69296692d980b96510ccce3934e upstream.

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 <arnd@arndb.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20230516160642.523862-11-arnd@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/kernel/module-plts.c