diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-01-24 05:21:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-01-24 05:21:20 +0000 |
commit | 7368f4ae68972ddb7ddb7a31111f0344e34c5fc0 (patch) | |
tree | f4ba343d96215d186789866fb656a30d284f86d4 /sys/arch/socppc/include | |
parent | 6c0a93c2cee045d6570be5bc4829b295c5c0129d (diff) |
Do not protect struct vm_page_md with defined(_KERNEL), for userland uvm
grovellers need to know it to be able to get the right size for struct
vm_page.
Diffstat (limited to 'sys/arch/socppc/include')
-rw-r--r-- | sys/arch/socppc/include/vmparam.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/socppc/include/vmparam.h b/sys/arch/socppc/include/vmparam.h index 05975b92504..8e04269ca9f 100644 --- a/sys/arch/socppc/include/vmparam.h +++ b/sys/arch/socppc/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.6 2014/01/23 22:06:29 miod Exp $ */ +/* $OpenBSD: vmparam.h,v 1.7 2014/01/24 05:21:19 miod Exp $ */ /* $NetBSD: vmparam.h,v 1.1 1996/09/30 16:34:38 ws Exp $ */ /*- @@ -97,8 +97,6 @@ extern vaddr_t ppc_kvm_stolen; #define VM_PHYSSEG_NOADD #define VM_PHYSSEG_STRAT VM_PSTRAT_RANDOM -#ifdef _KERNEL - struct pv_entry; struct vm_page_md { LIST_HEAD(,pte_desc) pv_list; @@ -109,6 +107,3 @@ struct vm_page_md { } while (0) #endif - - -#endif |