aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm64/include/asm/exception.h
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2024-02-06 12:38:47 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2024-02-20 18:12:13 +0000
commit997d79eb938e981ab0d3714d39ed148bce131d9e (patch)
tree92ff2f8f6093a9b5778664d5b16ca6b26d6f0fcf /arch/arm64/include/asm/exception.h
parentarm64: Simplify do_notify_resume() DAIF masking (diff)
downloadwireguard-linux-997d79eb938e981ab0d3714d39ed148bce131d9e.tar.xz
wireguard-linux-997d79eb938e981ab0d3714d39ed148bce131d9e.zip
arm64: Move do_notify_resume() to entry-common.c
Currently do_notify_resume() lives in arch/arm64/kernel/signal.c, but it would make more sense for it to live in entry-common.c as it handles more than signals, and is coupled with the rest of the return-to-userspace sequence (e.g. with unusual DAIF masking that matches the exception return requirements). Move do_notify_resume() to entry-common.c. There should be no functional change as a result of this patch. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: James Morse <james.morse@arm.com> Cc: Mark Brown <broonie@kernel.org> Cc: Will Deacon <will@kernel.org> Reviewed-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20240206123848.1696480-3-mark.rutland@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Itaru Kitayama <itaru.kitayama@linux.dev>
Diffstat (limited to 'arch/arm64/include/asm/exception.h')
-rw-r--r--arch/arm64/include/asm/exception.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/exception.h b/arch/arm64/include/asm/exception.h
index ad688e157c9b..f296662590c7 100644
--- a/arch/arm64/include/asm/exception.h
+++ b/arch/arm64/include/asm/exception.h
@@ -74,7 +74,7 @@ void do_el0_fpac(struct pt_regs *regs, unsigned long esr);
void do_el1_fpac(struct pt_regs *regs, unsigned long esr);
void do_el0_mops(struct pt_regs *regs, unsigned long esr);
void do_serror(struct pt_regs *regs, unsigned long esr);
-void do_notify_resume(struct pt_regs *regs, unsigned long thread_flags);
+void do_signal(struct pt_regs *regs);
void __noreturn panic_bad_stack(struct pt_regs *regs, unsigned long esr, unsigned long far);
#endif /* __ASM_EXCEPTION_H */