diff options
author | Luiz Souza <luiz@netgate.com> | 2018-02-21 14:26:22 -0300 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2018-02-21 14:26:22 -0300 |
commit | 4c9907d21517c211b27a3cf5b7a2a976623820cc (patch) | |
tree | e6d44f1e5491e491582dc98d2ad92231d99257c5 /sys/amd64/linux/linux_sysvec.c | |
parent | 911d650e1367dc4a6ac7feb96f47fc87fd6a4984 (diff) | |
download | FreeBSD-src-4c9907d21517c211b27a3cf5b7a2a976623820cc.zip FreeBSD-src-4c9907d21517c211b27a3cf5b7a2a976623820cc.tar.gz |
Revert "MFC r319873:"
This reverts commit 5dad0dd804a33b8a372d49fa342b24c67b1c2fb3.
Diffstat (limited to 'sys/amd64/linux/linux_sysvec.c')
-rw-r--r-- | sys/amd64/linux/linux_sysvec.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/amd64/linux/linux_sysvec.c b/sys/amd64/linux/linux_sysvec.c index f77c2c9..6e12d41 100644 --- a/sys/amd64/linux/linux_sysvec.c +++ b/sys/amd64/linux/linux_sysvec.c @@ -126,7 +126,7 @@ static boolean_t linux_trans_osrel(const Elf_Note *note, int32_t *osrel); static void linux_vdso_install(void *param); static void linux_vdso_deinstall(void *param); static void linux_set_syscall_retval(struct thread *td, int error); -static int linux_fetch_syscall_args(struct thread *td); +static int linux_fetch_syscall_args(struct thread *td, struct syscall_args *sa); static void linux_exec_setregs(struct thread *td, struct image_params *imgp, u_long stack); static int linux_vsyscall(struct thread *td); @@ -217,15 +217,13 @@ translate_traps(int signal, int trap_code) } static int -linux_fetch_syscall_args(struct thread *td) +linux_fetch_syscall_args(struct thread *td, struct syscall_args *sa) { struct proc *p; struct trapframe *frame; - struct syscall_args *sa; p = td->td_proc; frame = td->td_frame; - sa = &td->td_sa; sa->args[0] = frame->tf_rdi; sa->args[1] = frame->tf_rsi; |