diff options
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_clock.c | 2 | ||||
-rw-r--r-- | sys/kern/kern_descrip.c | 3 | ||||
-rw-r--r-- | sys/kern/kern_lockf.c | 3 | ||||
-rw-r--r-- | sys/kern/subr_scanf.c | 2 | ||||
-rw-r--r-- | sys/kern/sys_generic.c | 3 | ||||
-rw-r--r-- | sys/kern/uipc_socket.c | 2 | ||||
-rw-r--r-- | sys/kern/vfs_aio.c | 3 | ||||
-rw-r--r-- | sys/kern/vfs_default.c | 3 | ||||
-rw-r--r-- | sys/kern/vfs_extattr.c | 2 | ||||
-rw-r--r-- | sys/kern/vfs_syscalls.c | 2 | ||||
-rw-r--r-- | sys/kern/vfs_vnops.c | 3 |
11 files changed, 11 insertions, 17 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 3d04cf0..0482d53 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -60,10 +60,10 @@ #include <sys/sysctl.h> #include <sys/bus.h> #include <sys/interrupt.h> +#include <sys/limits.h> #include <sys/timetc.h> #include <machine/cpu.h> -#include <machine/limits.h> #ifdef GPROF #include <sys/gmon.h> diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index 0d02974..6975d0e 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -49,6 +49,7 @@ #include <sys/filedesc.h> #include <sys/lock.h> #include <sys/kernel.h> +#include <sys/limits.h> #include <sys/malloc.h> #include <sys/mutex.h> #include <sys/sysctl.h> @@ -67,8 +68,6 @@ #include <sys/socketvar.h> #include <sys/signalvar.h> -#include <machine/limits.h> - #include <vm/vm.h> #include <vm/vm_extern.h> #include <vm/uma.h> diff --git a/sys/kern/kern_lockf.c b/sys/kern/kern_lockf.c index 7a7379b..ca2ba30 100644 --- a/sys/kern/kern_lockf.c +++ b/sys/kern/kern_lockf.c @@ -42,6 +42,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/limits.h> #include <sys/lock.h> #include <sys/mount.h> #include <sys/mutex.h> @@ -52,8 +53,6 @@ #include <sys/fcntl.h> #include <sys/lockf.h> -#include <machine/limits.h> - /* * This variable controls the maximum number of processes that will * be checked in doing deadlock detection. diff --git a/sys/kern/subr_scanf.c b/sys/kern/subr_scanf.c index f204f19..675f145 100644 --- a/sys/kern/subr_scanf.c +++ b/sys/kern/subr_scanf.c @@ -42,7 +42,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/ctype.h> -#include <machine/limits.h> +#include <sys/limits.h> /* * Note that stdarg.h and the ANSI style va_start macro is used for both diff --git a/sys/kern/sys_generic.c b/sys/kern/sys_generic.c index c26cf47..98506f3 100644 --- a/sys/kern/sys_generic.c +++ b/sys/kern/sys_generic.c @@ -53,6 +53,7 @@ #include <sys/socketvar.h> #include <sys/uio.h> #include <sys/kernel.h> +#include <sys/limits.h> #include <sys/malloc.h> #include <sys/poll.h> #include <sys/resourcevar.h> @@ -69,8 +70,6 @@ #include <vm/vm.h> #include <vm/vm_page.h> -#include <machine/limits.h> - static MALLOC_DEFINE(M_IOCTLOPS, "ioctlops", "ioctl data buffer"); static MALLOC_DEFINE(M_SELECT, "select", "select() buffer"); MALLOC_DEFINE(M_IOV, "iov", "large iov's"); diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 7c13722..f50f59f 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -41,6 +41,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/fcntl.h> +#include <sys/limits.h> #include <sys/lock.h> #include <sys/mac.h> #include <sys/malloc.h> @@ -63,7 +64,6 @@ #include <vm/uma.h> -#include <machine/limits.h> #ifdef INET static int do_setopt_accept_filter(struct socket *so, struct sockopt *sopt); diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index ddfda94..f9a3fbe 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -32,6 +32,7 @@ #include <sys/kthread.h> #include <sys/fcntl.h> #include <sys/file.h> +#include <sys/limits.h> #include <sys/lock.h> #include <sys/mutex.h> #include <sys/unistd.h> @@ -56,8 +57,6 @@ #include <vm/uma.h> #include <sys/aio.h> -#include <machine/limits.h> - #include "opt_vfs_aio.h" /* diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c index 556c37e..7e3f295 100644 --- a/sys/kern/vfs_default.c +++ b/sys/kern/vfs_default.c @@ -45,6 +45,7 @@ #include <sys/buf.h> #include <sys/conf.h> #include <sys/kernel.h> +#include <sys/limits.h> #include <sys/lock.h> #include <sys/malloc.h> #include <sys/mount.h> @@ -53,8 +54,6 @@ #include <sys/vnode.h> #include <sys/poll.h> -#include <machine/limits.h> - #include <vm/vm.h> #include <vm/vm_object.h> #include <vm/vm_extern.h> diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 21b2046..5d41208 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -58,6 +58,7 @@ #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/file.h> +#include <sys/limits.h> #include <sys/linker.h> #include <sys/stat.h> #include <sys/sx.h> @@ -70,7 +71,6 @@ #include <sys/syscallsubr.h> #include <sys/sysctl.h> -#include <machine/limits.h> #include <machine/stdarg.h> #include <vm/vm.h> diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 21b2046..5d41208 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -58,6 +58,7 @@ #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/file.h> +#include <sys/limits.h> #include <sys/linker.h> #include <sys/stat.h> #include <sys/sx.h> @@ -70,7 +71,6 @@ #include <sys/syscallsubr.h> #include <sys/sysctl.h> -#include <machine/limits.h> #include <machine/stdarg.h> #include <vm/vm.h> diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index a01733f..589a372 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -47,6 +47,7 @@ #include <sys/file.h> #include <sys/stat.h> #include <sys/proc.h> +#include <sys/limits.h> #include <sys/lock.h> #include <sys/mac.h> #include <sys/mount.h> @@ -61,8 +62,6 @@ #include <sys/conf.h> #include <sys/syslog.h> -#include <machine/limits.h> - static fo_rdwr_t vn_read; static fo_rdwr_t vn_write; static fo_ioctl_t vn_ioctl; |