aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/include/pcpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm64/include/pcpu.h')
-rw-r--r--sys/arm64/include/pcpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/arm64/include/pcpu.h b/sys/arm64/include/pcpu.h
index 38a8cd3c3e56..ebb72799d83f 100644
--- a/sys/arm64/include/pcpu.h
+++ b/sys/arm64/include/pcpu.h
@@ -27,6 +27,10 @@
* $FreeBSD$
*/
+#ifdef __arm__
+#include <arm/pcpu.h>
+#else /* !__arm__ */
+
#ifndef _MACHINE_PCPU_H_
#define _MACHINE_PCPU_H_
@@ -89,3 +93,5 @@ get_curthread(void)
#endif /* _KERNEL */
#endif /* !_MACHINE_PCPU_H_ */
+
+#endif /* !__arm__ */