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 <[email protected]> Reviewed-by: Kees Cook <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent b925b43 commit 60a0aab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)