summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-09-21 02:11:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-09-21 02:11:59 +0000
commite1e2f3d5657dbc8713f513d28170eeaa86d76e52 (patch)
tree0187920256e5a97f3bb54f43aeac65603063eb37
parent0dedc24cb19e33981ae4c645626fb87bcfa5c70e (diff)
phys_map declaration comes from <vm/vm.h>, no need to declare it locally.
-rw-r--r--sys/arch/amiga/amiga/vm_machdep.c4
-rw-r--r--sys/arch/hp300/hp300/vm_machdep.c4
-rw-r--r--sys/arch/i386/i386/vm_machdep.c4
-rw-r--r--sys/arch/mac68k/mac68k/vm_machdep.c4
-rw-r--r--sys/arch/macppc/pci/mpcpcibus.c3
-rw-r--r--sys/arch/mvme88k/mvme88k/vm_machdep.c4
-rw-r--r--sys/arch/mvmeppc/pci/mpcpcibr.c4
-rw-r--r--sys/arch/mvmeppc/pci/raven.c4
-rw-r--r--sys/arch/vax/vax/vm_machdep.c4
9 files changed, 9 insertions, 26 deletions
diff --git a/sys/arch/amiga/amiga/vm_machdep.c b/sys/arch/amiga/amiga/vm_machdep.c
index 0aca59a42c8..fa38f74c45d 100644
--- a/sys/arch/amiga/amiga/vm_machdep.c
+++ b/sys/arch/amiga/amiga/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.22 2001/09/19 20:50:56 mickey Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.23 2001/09/21 02:11:53 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.30 1997/05/19 10:14:50 veego Exp $ */
/*
@@ -346,8 +346,6 @@ kvtop(addr)
return((int)pa);
}
-extern vm_map_t phys_map;
-
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we
diff --git a/sys/arch/hp300/hp300/vm_machdep.c b/sys/arch/hp300/hp300/vm_machdep.c
index 12f3599912c..1293e6fa1fe 100644
--- a/sys/arch/hp300/hp300/vm_machdep.c
+++ b/sys/arch/hp300/hp300/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.30 2001/09/19 20:50:56 mickey Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.31 2001/09/21 02:11:57 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.47 1999/03/26 23:41:29 mycroft Exp $ */
/*
@@ -293,8 +293,6 @@ kvtop(addr)
return((int)pa);
}
-extern vm_map_t phys_map;
-
/*
* Map an IO request into kernel virtual address space.
*
diff --git a/sys/arch/i386/i386/vm_machdep.c b/sys/arch/i386/i386/vm_machdep.c
index c4ae36e09d9..aa62e5497ea 100644
--- a/sys/arch/i386/i386/vm_machdep.c
+++ b/sys/arch/i386/i386/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.29 2001/09/19 20:50:56 mickey Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.30 2001/09/21 02:11:57 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.61 1996/05/03 19:42:35 christos Exp $ */
/*-
@@ -336,8 +336,6 @@ kvtop(addr)
return((int)pa);
}
-extern vm_map_t phys_map;
-
/*
* Map an IO request into kernel virtual address space. Requests fall into
* one of five catagories:
diff --git a/sys/arch/mac68k/mac68k/vm_machdep.c b/sys/arch/mac68k/mac68k/vm_machdep.c
index f59955cfca7..2fdb4ad5c4d 100644
--- a/sys/arch/mac68k/mac68k/vm_machdep.c
+++ b/sys/arch/mac68k/mac68k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.23 2001/08/11 23:21:13 art Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.24 2001/09/21 02:11:58 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.29 1998/07/28 18:34:55 thorpej Exp $ */
/*
@@ -346,8 +346,6 @@ kvtop(addr)
return((int)pa);
}
-extern vm_map_t phys_map;
-
/*
* Map an IO request into kernel virtual address space.
*
diff --git a/sys/arch/macppc/pci/mpcpcibus.c b/sys/arch/macppc/pci/mpcpcibus.c
index 1af30ef6f8d..cc1f25ca5f4 100644
--- a/sys/arch/macppc/pci/mpcpcibus.c
+++ b/sys/arch/macppc/pci/mpcpcibus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpcpcibus.c,v 1.1 2001/09/01 15:55:17 drahn Exp $ */
+/* $OpenBSD: mpcpcibus.c,v 1.2 2001/09/21 02:11:58 miod Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -62,7 +62,6 @@
#include <macppc/pci/mpc106reg.h>
#include <dev/ofw/openfirm.h>
-extern vm_map_t phys_map;
int mpcpcibrmatch __P((struct device *, void *, void *));
void mpcpcibrattach __P((struct device *, struct device *, void *));
diff --git a/sys/arch/mvme88k/mvme88k/vm_machdep.c b/sys/arch/mvme88k/mvme88k/vm_machdep.c
index b37ad773e11..869594adfb6 100644
--- a/sys/arch/mvme88k/mvme88k/vm_machdep.c
+++ b/sys/arch/mvme88k/mvme88k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.33 2001/09/19 20:50:57 mickey Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.34 2001/09/21 02:11:57 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
@@ -208,8 +208,6 @@ cpu_swapin(struct proc *p)
save_u_area(p, (vm_offset_t)p->p_addr);
}
-extern vm_map_t phys_map;
-
/*
* Map an IO request into kernel virtual address space. Requests fall into
* one of five catagories:
diff --git a/sys/arch/mvmeppc/pci/mpcpcibr.c b/sys/arch/mvmeppc/pci/mpcpcibr.c
index 860a5d54410..98df356420e 100644
--- a/sys/arch/mvmeppc/pci/mpcpcibr.c
+++ b/sys/arch/mvmeppc/pci/mpcpcibr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpcpcibr.c,v 1.4 2001/09/02 19:41:40 miod Exp $ */
+/* $OpenBSD: mpcpcibr.c,v 1.5 2001/09/21 02:11:58 miod Exp $ */
/*
* Copyright (c) 2001 Steve Murphree, Jr.
@@ -55,8 +55,6 @@
#include <mvmeppc/pci/pcibrvar.h>
#include <mvmeppc/dev/ravenreg.h>
-extern vm_map_t phys_map;
-
int mpcpcibrmatch __P((struct device *, void *, void *));
void mpcpcibrattach __P((struct device *, struct device *, void *));
diff --git a/sys/arch/mvmeppc/pci/raven.c b/sys/arch/mvmeppc/pci/raven.c
index b964529e95c..bfd52589686 100644
--- a/sys/arch/mvmeppc/pci/raven.c
+++ b/sys/arch/mvmeppc/pci/raven.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: raven.c,v 1.3 2001/09/02 19:41:40 miod Exp $ */
+/* $OpenBSD: raven.c,v 1.4 2001/09/21 02:11:58 miod Exp $ */
/*
* Copyright (c) 2001 Steve Murphree, Jr.
@@ -55,8 +55,6 @@
#include <mvmeppc/pci/pcibrvar.h>
#include <mvmeppc/pci/ravenreg.h>
-extern vm_map_t phys_map;
-
int mpcpcibrmatch __P((struct device *, void *, void *));
void mpcpcibrattach __P((struct device *, struct device *, void *));
diff --git a/sys/arch/vax/vax/vm_machdep.c b/sys/arch/vax/vax/vm_machdep.c
index a373880857f..0dd85551a9c 100644
--- a/sys/arch/vax/vax/vm_machdep.c
+++ b/sys/arch/vax/vax/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.23 2001/09/19 20:50:57 mickey Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.24 2001/09/21 02:11:58 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.67 2000/06/29 07:14:34 mrg Exp $ */
/*
@@ -317,8 +317,6 @@ iounaccess(vaddr, npgs)
mtpr(0, PR_TBIA);
}
-extern vm_map_t phys_map;
-
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we