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/mips64/include | |
parent | 521892b65aaf7f2920dc758a94b94087f9659dd9 (diff) |
clean userland namespace a bit more; ok miod
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r-- | sys/arch/mips64/include/pmap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mips64/include/pmap.h b/sys/arch/mips64/include/pmap.h index 9b8d2aeb983..4e57b1acf2c 100644 --- a/sys/arch/mips64/include/pmap.h +++ b/sys/arch/mips64/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.8 2005/11/23 11:22:10 mickey Exp $ */ +/* $OpenBSD: pmap.h,v 1.9 2006/05/29 21:50:08 deraadt Exp $ */ /* * Copyright (c) 1987 Carnegie-Mellon University @@ -38,6 +38,8 @@ #ifndef _MIPS_PMAP_H_ #define _MIPS_PMAP_H_ +#ifdef _KERNEL + /* * The user address space is 2Gb (0x0 - 0x80000000). * User programs are laid out in memory as follows: @@ -84,7 +86,6 @@ typedef struct pmap { struct segtab *pm_segtab; /* pointers to pages of PTEs */ } *pmap_t; -#ifdef _KERNEL /* flags for pv_entry */ #define PV_UNCACHED 0x0001 /* Page is mapped unchached */ |