summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2013-07-28 18:32:27 +0000
committeravg <avg@FreeBSD.org>2013-07-28 18:32:27 +0000
commitea04b46439a6200a93c2e7792bb488de8ad3c05a (patch)
tree2b655d8ec95c44c4e2b7306d22d416c79486c73c /sys/powerpc
parent425573ccba3b555a3407c9958714a764b5e7b609 (diff)
downloadFreeBSD-src-ea04b46439a6200a93c2e7792bb488de8ad3c05a.zip
FreeBSD-src-ea04b46439a6200a93c2e7792bb488de8ad3c05a.tar.gz
put contents of cpu.h under _KERNEL
no userland-serviceable parts inside MFC after: 20 days
Diffstat (limited to 'sys/powerpc')
-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