@@ -30,8 +30,6 @@
#include <asm/byteorder.h>
#include <asm/cpufeature.h>
#include <asm/insn.h>
-/* XXX: Move ARCH_PATCH_INSN_SIZE out of livepatch.h */
-#include <asm/livepatch.h>
#include <asm/page.h>
/* Override macros from asm/page.h to make them work with mfn_t */
@@ -11,6 +11,9 @@
# error "unknown ARM variant"
#endif
+/* On ARM32,64 instructions are always 4 bytes long. */
+#define ARCH_PATCH_INSN_SIZE 4
+
#endif /* !__ARCH_ARM_INSN */
/*
* Local variables:
@@ -7,9 +7,7 @@
#define __XEN_ARM_LIVEPATCH_H__
#include <xen/sizes.h> /* For SZ_* macros. */
-
-/* On ARM32,64 instructions are always 4 bytes long. */
-#define ARCH_PATCH_INSN_SIZE 4
+#include <asm/insn.h>
/*
* The va of the hypervisor .text region. We need this as the