From 8584646f48809d22fe10939a0372642cd4b7ea40 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 28 Oct 2001 00:58:07 +0000 Subject: Define kernel_pmap only if _KERNEL defined. --- sys/arch/mvme88k/include/pmap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch/mvme88k/include/pmap.h') 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) -- cgit v1.2.3