summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include/cpu.h')
-rw-r--r--sys/powerpc/include/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/include/cpu.h b/sys/powerpc/include/cpu.h
index bf4db83..a2e34a0 100644
--- a/sys/powerpc/include/cpu.h
+++ b/sys/powerpc/include/cpu.h
@@ -39,6 +39,8 @@
#include <machine/pcb.h>
#include <machine/psl.h>
+#ifdef _KERNEL
+
/*
* CPU Feature Attributes
*
@@ -98,4 +100,5 @@ void cpu_reset(void);
void fork_trampoline(void);
void swi_vm(void *);
+#endif /* _KERNEL */
#endif /* _MACHINE_CPU_H_ */
OpenPOWER on IntegriCloud