summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include
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/hppa/include
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/hppa/include')
-rw-r--r--sys/arch/hppa/include/pmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/include/pmap.h b/sys/arch/hppa/include/pmap.h
index a8acf4c59ad..8b5693e3093 100644
--- a/sys/arch/hppa/include/pmap.h
+++ b/sys/arch/hppa/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.34 2007/09/10 18:49:44 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.35 2007/12/14 18:32:23 deraadt Exp $ */
/*
* Copyright (c) 2002-2004 Michael Shalayeff
@@ -33,6 +33,8 @@
#include <uvm/uvm_pglist.h>
#include <uvm/uvm_object.h>
+#ifdef _KERNEL
+
struct pmap {
struct uvm_object pm_obj; /* object (lck by object lock) */
#define pm_lock pm_obj.vmobjlock
@@ -70,8 +72,6 @@ struct vp_entry {
u_int vp_ptr;
};
-#ifdef _KERNEL
-
extern void gateway_page(void);
extern struct pmap kernel_pmap_store;