From 01573e231f18eb2d99162747186f59511f56b64d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 08 Dec 2023 10:40:48 +0000 Subject: [PATCH] 移去rt --- kernel/arch/x86/um/shared/sysdep/syscalls_32.h | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/arch/x86/um/shared/sysdep/syscalls_32.h b/kernel/arch/x86/um/shared/sysdep/syscalls_32.h index 68fd2cf..f6e9f84 100644 --- a/kernel/arch/x86/um/shared/sysdep/syscalls_32.h +++ b/kernel/arch/x86/um/shared/sysdep/syscalls_32.h @@ -6,10 +6,9 @@ #include <asm/unistd.h> #include <sysdep/ptrace.h> -typedef long syscall_handler_t(struct pt_regs); +typedef long syscall_handler_t(struct syscall_args); extern syscall_handler_t *sys_call_table[]; #define EXECUTE_SYSCALL(syscall, regs) \ - ((long (*)(struct syscall_args)) \ - (*sys_call_table[syscall]))(SYSCALL_ARGS(®s->regs)) + ((*sys_call_table[syscall]))(SYSCALL_ARGS(®s->regs)) -- Gitblit v1.6.2