summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2006-08-28 12:18:11 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2006-08-28 12:18:11 +0000
commita6c4ce3203386073835576af8d253a59dc071b0e (patch)
tree90db3520cb17bcbf3db6645c2b2958c8e294bca6 /sys/arch
parent5841d546c9d78715417c3ab13a5462f6021e572c (diff)
avoid avail_end common; no binary change; found by grunk@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index 4803714ac7f..56f4eced303 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.93 2006/05/19 20:53:31 brad Exp $ */
+/* $OpenBSD: pmap.c,v 1.94 2006/08/28 12:18:10 mickey Exp $ */
/* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */
/*
@@ -567,7 +567,6 @@ int pmap_pg_g = 0;
* of this machine.
*/
paddr_t avail_start; /* PA of first available physical page */
-paddr_t avail_end; /* PA of last available physical page */
paddr_t hole_start; /* PA of start of "hole" */
paddr_t hole_end; /* PA of end of "hole" */
@@ -1135,6 +1134,7 @@ void
pmap_bootstrap(kva_start)
vaddr_t kva_start;
{
+ extern paddr_t avail_end;
struct pmap *kpm;
vaddr_t kva;
pt_entry_t *pte;