diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-12-25 00:48:52 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-12-25 00:48:52 +0000 |
commit | b6a08f9a1ab06cc0b6ea569b1ff6a1bf8f5dafe5 (patch) | |
tree | f67933be1f3a6945895d0ba8495e67f01a3d0f34 /sys/arch/m88k/include | |
parent | fd746b6e2c40d916fc98322b6c2697069cee38ef (diff) |
Do not make struct pmap visible unless _KERNEL.
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r-- | sys/arch/m88k/include/pmap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/m88k/include/pmap.h b/sys/arch/m88k/include/pmap.h index 2687b58836b..3e6eef03375 100644 --- a/sys/arch/m88k/include/pmap.h +++ b/sys/arch/m88k/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.11 2007/11/21 19:40:33 miod Exp $ */ +/* $OpenBSD: pmap.h,v 1.12 2007/12/25 00:48:51 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1991 Carnegie Mellon University @@ -17,6 +17,8 @@ #include <machine/mmu.h> +#ifdef _KERNEL + /* * PMAP structure */ @@ -45,8 +47,6 @@ struct pmap { typedef struct pmap *pmap_t; typedef struct pv_entry *pv_entry_t; -#ifdef _KERNEL - extern pmap_t kernel_pmap; extern struct pmap kernel_pmap_store; extern caddr_t vmmap; |