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 <[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 a7f5cb6 commit 8ada7aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)