diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-08 17:42:51 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-08 17:42:51 +0000 |
commit | a5bb0dc353bd2c7da5f699db5a76d0aa71f044be (patch) | |
tree | 5ec6f5cad4144762b69631119fd6103c4a73469d | |
parent | ca6b780f3bfa5c9a89ba92e6cd2521c9329cdc0f (diff) |
Repair compilability after the recent uvmexp changes, especially for
not compile-time-known page size platforms.
-rw-r--r-- | sys/arch/m88k/m88k/softintr.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc/dev/isp_sbus.c | 4 | ||||
-rw-r--r-- | sys/kern/subr_poison.c | 4 | ||||
-rw-r--r-- | sys/kern/sys_generic.c | 4 |
4 files changed, 11 insertions, 4 deletions
diff --git a/sys/arch/m88k/m88k/softintr.c b/sys/arch/m88k/m88k/softintr.c index 2aad54ef56a..0ba6e61916f 100644 --- a/sys/arch/m88k/m88k/softintr.c +++ b/sys/arch/m88k/m88k/softintr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softintr.c,v 1.2 2010/12/21 14:56:24 claudio Exp $ */ +/* $OpenBSD: softintr.c,v 1.3 2014/07/08 17:42:50 miod Exp $ */ /* $NetBSD: softintr.c,v 1.2 2003/07/15 00:24:39 lukem Exp $ */ /* @@ -38,6 +38,7 @@ #include <sys/param.h> #include <sys/malloc.h> +#include <sys/mutex.h> #include <uvm/uvm_extern.h> diff --git a/sys/arch/sparc/dev/isp_sbus.c b/sys/arch/sparc/dev/isp_sbus.c index 771d664996a..e8aca5c8f41 100644 --- a/sys/arch/sparc/dev/isp_sbus.c +++ b/sys/arch/sparc/dev/isp_sbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isp_sbus.c,v 1.32 2014/02/10 22:41:27 jmatthew Exp $ */ +/* $OpenBSD: isp_sbus.c,v 1.33 2014/07/08 17:42:50 miod Exp $ */ /* * SBus specific probe and attach routines for Qlogic ISP SCSI adapters. * @@ -42,6 +42,8 @@ #include <machine/vmparam.h> #include <sparc/sparc/cpuvar.h> +#include <uvm/uvm_extern.h> + #include <dev/ic/isp_openbsd.h> #ifndef ISP_NOFIRMWARE diff --git a/sys/kern/subr_poison.c b/sys/kern/subr_poison.c index 725d001adb0..b2768e92d67 100644 --- a/sys/kern/subr_poison.c +++ b/sys/kern/subr_poison.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_poison.c,v 1.8 2014/07/08 17:19:25 deraadt Exp $ */ +/* $OpenBSD: subr_poison.c,v 1.9 2014/07/08 17:42:50 miod Exp $ */ /* * Copyright (c) 2013 Ted Unangst <tedu@openbsd.org> * @@ -19,6 +19,8 @@ #include <sys/param.h> #include <sys/malloc.h> +#include <uvm/uvm_extern.h> + /* * The POISON is used as known text to copy into free objects so * that modifications after frees can be detected. diff --git a/sys/kern/sys_generic.c b/sys/kern/sys_generic.c index 636dbd77f3d..837d95f8182 100644 --- a/sys/kern/sys_generic.c +++ b/sys/kern/sys_generic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_generic.c,v 1.87 2014/07/08 17:19:25 deraadt Exp $ */ +/* $OpenBSD: sys_generic.c,v 1.88 2014/07/08 17:42:50 miod Exp $ */ /* $NetBSD: sys_generic.c,v 1.24 1996/03/29 00:25:32 cgd Exp $ */ /* @@ -60,6 +60,8 @@ #include <sys/mount.h> #include <sys/syscallargs.h> +#include <uvm/uvm_extern.h> + int selscan(struct proc *, fd_set *, fd_set *, int, int, register_t *); void pollscan(struct proc *, struct pollfd *, u_int, register_t *); int pollout(struct pollfd *, struct pollfd *, u_int); |