diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-08-16 07:59:46 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-08-16 07:59:46 +0000 |
commit | 7a2a522d54acc5ed3152fea02a666e07546dc23b (patch) | |
tree | db6b48c53e0576bec5338ddea57ebe086172d46e /sys/arch/hppa64 | |
parent | 3353e2906529aa37401c4ba49faae2f7c380d213 (diff) |
Don't export 'struct pmap' to userland.
Diffstat (limited to 'sys/arch/hppa64')
-rw-r--r-- | sys/arch/hppa64/include/pmap.h | 6 |
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; /* |