Skip to content

Commit 60a0aab

Browse files
arndbctmarinas
authored andcommitted
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>
1 parent b925b43 commit 60a0aab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm64/kernel/module-plts.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <linux/ftrace.h>
88
#include <linux/kernel.h>
99
#include <linux/module.h>
10+
#include <linux/moduleloader.h>
1011
#include <linux/sort.h>
1112

1213
static struct plt_entry __get_adrp_add_pair(u64 dst, u64 pc,

0 commit comments

Comments
 (0)