summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include/pmap.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-10-28 00:58:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-10-28 00:58:07 +0000
commit8584646f48809d22fe10939a0372642cd4b7ea40 (patch)
treea235580ecd7f71dd6d544f49071ede4cc18cb89c /sys/arch/mvme88k/include/pmap.h
parenta702865eb42f0edd1f7812a2f3dc9ed49f35b791 (diff)
Define kernel_pmap only if _KERNEL defined.
Diffstat (limited to 'sys/arch/mvme88k/include/pmap.h')
-rw-r--r--sys/arch/mvme88k/include/pmap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/include/pmap.h b/sys/arch/mvme88k/include/pmap.h
index 3506158d0bb..27197cb032a 100644
--- a/sys/arch/mvme88k/include/pmap.h
+++ b/sys/arch/mvme88k/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.16 2001/08/18 20:50:18 art Exp $ */
+/* $OpenBSD: pmap.h,v 1.17 2001/10/28 00:58:06 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1991 Carnegie Mellon University
@@ -50,7 +50,6 @@ struct pmap {
};
#define PMAP_NULL ((pmap_t) 0)
-extern pmap_t kernel_pmap;
/* The PV (Physical to virtual) List.
*
@@ -67,8 +66,9 @@ typedef struct pv_entry {
#ifdef _KERNEL
-extern struct pmap kernel_pmap_store;
-extern caddr_t vmmap;
+extern pmap_t kernel_pmap;
+extern struct pmap kernel_pmap_store;
+extern caddr_t vmmap;
#define pmap_kernel() (&kernel_pmap_store)
#define pmap_resident_count(pmap) ((pmap)->stats.resident_count)