Skip to content

Commit 8ada7aa

Browse files
arndbctmarinas
authored andcommitted
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 <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-14-arnd@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent a7f5cb6 commit 8ada7aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm64/kernel/signal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include <asm/daifflags.h>
2424
#include <asm/debug-monitors.h>
2525
#include <asm/elf.h>
26+
#include <asm/exception.h>
2627
#include <asm/cacheflush.h>
2728
#include <asm/ucontext.h>
2829
#include <asm/unistd.h>

0 commit comments

Comments
 (0)