diff options
author | Arnd Bergmann <[email protected]> | 2023-05-16 18:06:40 +0200 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2023-05-25 17:44:03 +0100 |
commit | 8ada7aab02ee9b07c8539a5c9cc452520b183a72 (patch) | |
tree | 5d5729bf5ebcf0af2f04934804dba30c801a3a90 | |
parent | a7f5cb606e9993daf2d129efc5e3b6ca46ad9227 (diff) |
arm64: signal: include asm/exception.h
The do_notify_resume() is in a header that is not included
for the definition, which causes a W=1 warning:
arch/arm64/kernel/signal.c:1280:6: error: no previous prototype for 'do_notify_resume' [-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]>
-rw-r--r-- | arch/arm64/kernel/signal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c index 2cfc810d0a5b..3457906ba117 100644 --- a/arch/arm64/kernel/signal.c +++ b/arch/arm64/kernel/signal.c @@ -23,6 +23,7 @@ #include <asm/daifflags.h> #include <asm/debug-monitors.h> #include <asm/elf.h> +#include <asm/exception.h> #include <asm/cacheflush.h> #include <asm/ucontext.h> #include <asm/unistd.h> |