diff options
author | kib <kib@FreeBSD.org> | 2017-07-21 06:56:06 +0000 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2018-02-19 10:50:48 -0600 |
commit | 045793a68906243d204d36b336867187c1a33f00 (patch) | |
tree | 724f60722a2171ab9aa957c232233036e757fe0d /sys/i386 | |
parent | 430a2bea3907149b30cc75fc722b6cf1f81da82a (diff) | |
download | FreeBSD-src-045793a68906243d204d36b336867187c1a33f00.zip FreeBSD-src-045793a68906243d204d36b336867187c1a33f00.tar.gz |
MFC r319871:
Make struct syscall_args visible to userspace compilation environment
from machine/proc.h, consistently on all architectures.
(cherry picked from commit 06d5fa0600b92e97e90e41785ef10f641bdec89f)
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/proc.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/i386/include/proc.h b/sys/i386/include/proc.h index 14f03b7..8fe7a6c 100644 --- a/sys/i386/include/proc.h +++ b/sys/i386/include/proc.h @@ -60,6 +60,13 @@ struct mdproc { #define KINFO_PROC_SIZE 768 +struct syscall_args { + u_int code; + struct sysent *callp; + register_t args[8]; + int narg; +}; + #ifdef _KERNEL /* Get the current kernel thread stack usage. */ @@ -77,13 +84,6 @@ void user_ldt_free(struct thread *); void user_ldt_deref(struct proc_ldt *pldt); extern struct mtx dt_lock; - -struct syscall_args { - u_int code; - struct sysent *callp; - register_t args[8]; - int narg; -}; #endif /* _KERNEL */ #endif /* !_MACHINE_PROC_H_ */ |