xen/arm: Move ARCH_PATCH_INSN_SIZE out of the header livepatch.h
authorJulien Grall <julien.grall@arm.com>
Tue, 24 Sep 2019 11:28:51 +0000 (12:28 +0100)
committerJulien Grall <julien.grall@arm.com>
Fri, 1 Nov 2019 14:32:20 +0000 (14:32 +0000)
commit6378a4c24050d47f0c6f77f65c98dbe2e0249c4a
tree0d210d6d267332b5208fb11e3a5eabf916fc33f9
parentba165e7ab83eb3726f7bded6fe58755a90a93276
xen/arm: Move ARCH_PATCH_INSN_SIZE out of the header livepatch.h

At the moment, ARCH_PATCH_INSN_SIZE is defined in the header
livepatch.h. However, this is also used in the alternative code.

Rather than including livepatch.h just for using the define, move it in
the header insn.h which seems more suitable.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/arm/alternative.c
xen/include/asm-arm/insn.h
xen/include/asm-arm/livepatch.h