aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/insn-def.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/insn-def.h')
-rw-r--r--arch/arm64/include/asm/insn-def.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/insn-def.h b/arch/arm64/include/asm/insn-def.h
new file mode 100644
index 000000000000..2c075f615c6a
--- /dev/null
+++ b/arch/arm64/include/asm/insn-def.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef __ASM_INSN_DEF_H
+#define __ASM_INSN_DEF_H
+
+/* A64 instructions are always 32 bits. */
+#define AARCH64_INSN_SIZE 4
+
+#endif /* __ASM_INSN_DEF_H */