1 #ifndef __ARCH_ARM_INSN
2 #define __ARCH_ARM_INSN
3 
4 #ifndef __ASSEMBLY__
5 
6 #include <xen/types.h>
7 
8 #if defined(CONFIG_ARM_64)
9 # include <asm/arm64/insn.h>
10 #elif defined(CONFIG_ARM_32)
11 # include <asm/arm32/insn.h>
12 #else
13 # error "unknown ARM variant"
14 #endif
15 
16 #endif /* __ASSEMBLY__ */
17 
18 /* On ARM32,64 instructions are always 4 bytes long. */
19 #define ARCH_PATCH_INSN_SIZE 4
20 
21 #endif /* !__ARCH_ARM_INSN */
22 /*
23  * Local variables:
24  * mode: C
25  * c-file-style: "BSD"
26  * c-basic-offset: 8
27  * indent-tabs-mode: t
28  * End:
29  */
30