diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-05-29 21:50:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-05-29 21:50:10 +0000 |
commit | e3a487165a0d80a68b2b68a7c2309e7f520e6270 (patch) | |
tree | 1ecbf4691359f93f9b91bb014f8de5b15f9a214f /sys/arch/powerpc | |
parent | 521892b65aaf7f2920dc758a94b94087f9659dd9 (diff) |
clean userland namespace a bit more; ok miod
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/include/pmap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h index 67e3c3967ae..ecfe25ce60f 100644 --- a/sys/arch/powerpc/include/pmap.h +++ b/sys/arch/powerpc/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.41 2005/12/17 07:31:26 miod Exp $ */ +/* $OpenBSD: pmap.h,v 1.42 2006/05/29 21:50:09 deraadt Exp $ */ /* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */ /*- @@ -81,6 +81,8 @@ void pmap_kremove_pg(vaddr_t va); #define PMAP_CACHE_WT 2 /* writethru */ #define PMAP_CACHE_WB 3 /* writeback */ +#ifdef _KERNEL + /* * Pmap stuff */ @@ -94,7 +96,6 @@ struct pmap { typedef struct pmap *pmap_t; -#ifdef _KERNEL extern struct pmap kernel_pmap_; #define pmap_kernel() (&kernel_pmap_) boolean_t pteclrbits(paddr_t pa, u_int mask, u_int clear); |