diff options
author | kib <kib@FreeBSD.org> | 2017-07-21 18:06:57 +0000 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2018-02-19 14:38:58 -0300 |
commit | 5dad0dd804a33b8a372d49fa342b24c67b1c2fb3 (patch) | |
tree | dcd2066d75216c10efafd5b88288a142e2ab0bd6 /sys/amd64/linux32 | |
parent | ba6ece08e939b4f3d25e9e81956e8d622ed1fc2e (diff) | |
download | FreeBSD-src-5dad0dd804a33b8a372d49fa342b24c67b1c2fb3.zip FreeBSD-src-5dad0dd804a33b8a372d49fa342b24c67b1c2fb3.tar.gz |
MFC r319873:
Move struct syscall_args syscall arguments parameters container into
struct thread.
(cherry picked from commit 985b26c6741218c134a15526fd32b736bd73fa8a)
Diffstat (limited to 'sys/amd64/linux32')
-rw-r--r-- | sys/amd64/linux32/linux32_sysvec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c index c264f3a..ea849ba 100644 --- a/sys/amd64/linux32/linux32_sysvec.c +++ b/sys/amd64/linux32/linux32_sysvec.c @@ -725,13 +725,15 @@ linux_rt_sigreturn(struct thread *td, struct linux_rt_sigreturn_args *args) } static int -linux32_fetch_syscall_args(struct thread *td, struct syscall_args *sa) +linux32_fetch_syscall_args(struct thread *td) { 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_rbx; sa->args[1] = frame->tf_rcx; |