]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 25 May 2023 16:44:02 +0000 (17:44 +0100)
commit60a0aab7463ee69296692d980b96510ccce3934e
treeb8edfa556f126f2f0f3f16861731294dc9c4377d
parentb925b4314c9155b32d17e9dfda37d64c229063b7
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 <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>
arch/arm64/kernel/module-plts.c