summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-12-15 17:24:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-12-15 17:24:08 +0000
commit557131fcec0583e3d18ad8862c0cf3eea3500428 (patch)
tree23f93df50579bad659d19530a6730df9c73872f9 /sys/arch/vax
parentd1ee5eeaf97b7bf7cbcfc98b9cdecffc12bdca64 (diff)
Remove a lot of symbols from the namespace, otherwise sys/sysctl.h and
rpc/pmap_prot.h collide.. "struct pmap" from the kernel should not make it out to userland. ok miod
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/include/pmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/vax/include/pmap.h b/sys/arch/vax/include/pmap.h
index a5b0ff7f5f2..2388a77b77b 100644
--- a/sys/arch/vax/include/pmap.h
+++ b/sys/arch/vax/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.28 2007/04/22 10:05:51 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.29 2007/12/15 17:24:07 deraadt Exp $ */
/* $NetBSD: pmap.h,v 1.37 1999/08/01 13:48:07 ragge Exp $ */
/*
@@ -43,6 +43,8 @@
#ifndef PMAP_H
#define PMAP_H
+#ifdef _KERNEL
+
#include <machine/pte.h>
#include <machine/mtpr.h>
#include <machine/pcb.h>
@@ -96,8 +98,6 @@ struct pv_entry {
(paddr_t)ptr = avail_start + KERNBASE; \
avail_start += (count) * VAX_NBPG;
-#ifdef _KERNEL
-
extern struct pmap kernel_pmap_store;
#define pmap_kernel() (&kernel_pmap_store)