2022-06-15 11:23:29

by Tiezhu Yang

[permalink] [raw]
Subject: [RFC PATCH v3 0/3] LoongArch: Modify handle_syscall

Tiezhu Yang (3):
LoongArch: Add TI_SYSCALL in output_thread_info_defines()
LoongArch: Only clone and clone3 need to call SAVE_STATIC
LoongArch: No need to call RESTORE_ALL_AND_RET for all syscalls

arch/loongarch/include/asm/stackframe.h | 17 ++++++++++++++++
arch/loongarch/kernel/asm-offsets.c | 1 +
arch/loongarch/kernel/entry.S | 35 ++++++++++++++++++++++++++++++++-
3 files changed, 52 insertions(+), 1 deletion(-)

--
2.1.0