Skip to content

Commit 1a7f67e

Browse files
committed
Merge branch 'for-next/entry' into for-next/core
* for-next/entry: : More entry.S clean-ups and conversion to C. arm64: entry: call exit_to_user_mode() from C arm64: entry: move bulk of ret_to_user to C arm64: entry: clarify entry/exit helpers arm64: entry: consolidate entry/exit helpers
2 parents 622909e + e130338 commit 1a7f67e

File tree

4 files changed

+162
-113
lines changed

4 files changed

+162
-113
lines changed

arch/arm64/include/asm/exception.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ asmlinkage void el0t_32_error_handler(struct pt_regs *regs);
5555

5656
asmlinkage void call_on_irq_stack(struct pt_regs *regs,
5757
void (*func)(struct pt_regs *));
58-
asmlinkage void enter_from_user_mode(void);
59-
asmlinkage void exit_to_user_mode(void);
58+
asmlinkage void asm_exit_to_user_mode(struct pt_regs *regs);
59+
6060
void do_mem_abort(unsigned long far, unsigned int esr, struct pt_regs *regs);
6161
void do_undefinstr(struct pt_regs *regs);
6262
void do_bti(struct pt_regs *regs);
@@ -73,6 +73,7 @@ void do_el0_svc(struct pt_regs *regs);
7373
void do_el0_svc_compat(struct pt_regs *regs);
7474
void do_ptrauth_fault(struct pt_regs *regs, unsigned int esr);
7575
void do_serror(struct pt_regs *regs, unsigned int esr);
76+
void do_notify_resume(struct pt_regs *regs, unsigned long thread_flags);
7677

7778
void panic_bad_stack(struct pt_regs *regs, unsigned int esr, unsigned long far);
7879
#endif /* __ASM_EXCEPTION_H */

0 commit comments

Comments
 (0)