diff options
-rw-r--r-- | sys/compat/freebsd32/freebsd32_misc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index a9506a0..b9678cb9 100644 --- a/sys/compat/freebsd32/freebsd32_misc.c +++ b/sys/compat/freebsd32/freebsd32_misc.c @@ -30,13 +30,11 @@ __FBSDID("$FreeBSD$"); #include "opt_compat.h" #include <sys/param.h> -#include <sys/systm.h> #include <sys/bus.h> #include <sys/clock.h> #include <sys/exec.h> #include <sys/fcntl.h> #include <sys/filedesc.h> -#include <sys/namei.h> #include <sys/imgact.h> #include <sys/kernel.h> #include <sys/limits.h> @@ -48,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <sys/module.h> #include <sys/mount.h> #include <sys/mutex.h> +#include <sys/namei.h> #include <sys/proc.h> #include <sys/reboot.h> #include <sys/resource.h> @@ -65,6 +64,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <sys/sysent.h> #include <sys/sysproto.h> +#include <sys/systm.h> #include <sys/thr.h> #include <sys/unistd.h> #include <sys/ucontext.h> @@ -2557,9 +2557,10 @@ freebsd32_cpuset_setaffinity(struct thread *td, int freebsd32_xxx(struct thread *td, struct freebsd32_xxx_args *uap) { - int error; struct yyy32 *p32, s32; struct yyy *p = NULL, s; + struct xxx_arg ap; + int error; if (uap->zzz) { error = copyin(uap->zzz, &s32, sizeof(s32)); |