aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm64/include/cpu.h')
-rw-r--r--sys/arm64/include/cpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/arm64/include/cpu.h b/sys/arm64/include/cpu.h
index 0bb320f2e0a0..6d83ef25793c 100644
--- a/sys/arm64/include/cpu.h
+++ b/sys/arm64/include/cpu.h
@@ -38,6 +38,10 @@
* $FreeBSD$
*/
+#ifdef __arm__
+#include <arm/cpu.h>
+#else /* !__arm__ */
+
#ifndef _MACHINE_CPU_H_
#define _MACHINE_CPU_H_
@@ -253,3 +257,5 @@ ADDRESS_TRANSLATE_FUNC(s1e1w)
#endif
#endif /* !_MACHINE_CPU_H_ */
+
+#endif /* !__arm__ */