summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
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