Files
xen/xen/arch/arm/include/asm/insn.h
T
Anthony PERARD 725381a5ea xen: move include/asm-* to arch/*/include/asm
This avoid the need to create the symbolic link "include/asm".

Whenever a comment refer to an "asm" headers, this patch avoid
spelling the arch when not needed to avoid some code churn.

One unrelated change is to sort entries in MAINTAINERS for "INTEL(R)
VT FOR X86 (VT-X)"

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Paul Durrant <paul@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
2021-12-15 10:14:13 +01:00

30 lines
511 B
C

#ifndef __ARCH_ARM_INSN
#define __ARCH_ARM_INSN
#ifndef __ASSEMBLY__
#include <xen/types.h>
#if defined(CONFIG_ARM_64)
# include <asm/arm64/insn.h>
#elif defined(CONFIG_ARM_32)
# include <asm/arm32/insn.h>
#else
# error "unknown ARM variant"
#endif
#endif /* __ASSEMBLY__ */
/* On ARM32,64 instructions are always 4 bytes long. */
#define ARCH_PATCH_INSN_SIZE 4
#endif /* !__ARCH_ARM_INSN */
/*
* Local variables:
* mode: C
* c-file-style: "BSD"
* c-basic-offset: 8
* indent-tabs-mode: t
* End:
*/