summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-12-14 18:32:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-12-14 18:32:26 +0000
commit4cb17e9667a272f7541dbee84ac942404facb823 (patch)
tree945ab6c49c5271579d0af2dc4ab0d7d9fdf9f5c6 /sys/arch/alpha
parentc4056be5cde43cf5f01cf6bce1f26859c12935c7 (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.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/include/pmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/include/pmap.h b/sys/arch/alpha/include/pmap.h
index 1a7047e55da..381d9ba355c 100644
--- a/sys/arch/alpha/include/pmap.h
+++ b/sys/arch/alpha/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.22 2007/09/10 18:49:44 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.23 2007/12/14 18:32:20 deraadt Exp $ */
/* $NetBSD: pmap.h,v 1.37 2000/11/19 03:16:35 thorpej Exp $ */
/*-
@@ -82,6 +82,8 @@
#include <machine/pte.h>
+#ifdef _KERNEL
+
/*
* Machine-dependent virtual memory state.
*
@@ -161,8 +163,6 @@ struct pv_head {
"l3pt", \
}
-#ifdef _KERNEL
-
#ifndef _LKM
#if defined(NEW_SCC_DRIVER)
#if defined(DEC_KN8AE)