summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-08-16 07:59:46 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-08-16 07:59:46 +0000
commit7a2a522d54acc5ed3152fea02a666e07546dc23b (patch)
treedb6b48c53e0576bec5338ddea57ebe086172d46e /sys/arch/hppa64/include
parent3353e2906529aa37401c4ba49faae2f7c380d213 (diff)
Don't export 'struct pmap' to userland.
Diffstat (limited to 'sys/arch/hppa64/include')
-rw-r--r--sys/arch/hppa64/include/pmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa64/include/pmap.h b/sys/arch/hppa64/include/pmap.h
index af516aee4c4..d78d8e22639 100644
--- a/sys/arch/hppa64/include/pmap.h
+++ b/sys/arch/hppa64/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.7 2011/07/07 18:40:12 kettenis Exp $ */
+/* $OpenBSD: pmap.h,v 1.8 2011/08/16 07:59:45 kettenis Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -24,6 +24,8 @@
#include <uvm/uvm_page.h>
#include <uvm/uvm_object.h>
+#ifdef _KERNEL
+
struct pmap {
simple_lock_data_t pm_lock;
int pm_refcount;
@@ -43,8 +45,6 @@ struct pv_entry { /* locked by its list's pvh_lock */
struct vm_page *pv_ptp; /* the vm_page of the PTP */
};
-#ifdef _KERNEL
-
extern struct pmap kernel_pmap_store;
/*