summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorticso <ticso@FreeBSD.org>2005-09-19 23:33:00 +0000
committerticso <ticso@FreeBSD.org>2005-09-19 23:33:00 +0000
commit9907dd847d1a13f6749c792a069e1f27621db016 (patch)
tree234eaa75172f6da102ab2939b37fad0a36db0383 /sys/alpha
parentb1aa5bb640247072fc8d1d7048d185f1394ada0e (diff)
downloadFreeBSD-src-9907dd847d1a13f6749c792a069e1f27621db016.zip
FreeBSD-src-9907dd847d1a13f6749c792a069e1f27621db016.tar.gz
Protect includes for kernel specific use from userland.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/include/pmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/include/pmap.h b/sys/alpha/include/pmap.h
index 08c78dc..cc5902b 100644
--- a/sys/alpha/include/pmap.h
+++ b/sys/alpha/include/pmap.h
@@ -45,8 +45,10 @@
#ifndef _MACHINE_PMAP_H_
#define _MACHINE_PMAP_H_
+#ifdef _KERNEL
#include <machine/chipset.h>
#include <sys/systm.h>
+#endif
/*
* Define meanings for a few software bits in the pte
OpenPOWER on IntegriCloud