arm64: insn: move AARCH64_INSN_SIZE into <asm/insn.h>
authorMark Rutland <mark.rutland@arm.com>
Wed, 9 Jun 2021 10:23:01 +0000 (11:23 +0100)
committerWill Deacon <will@kernel.org>
Fri, 11 Jun 2021 10:19:27 +0000 (11:19 +0100)
commit3e00e39d9dad48360ebd518726ebf81da1b84c10
tree47b4ad9a277ec6d5f6c2fe8adb5a57b5b0266231
parent78b92c7337e10519312e8aab64d7a1651206bd61
arm64: insn: move AARCH64_INSN_SIZE into <asm/insn.h>

For histroical reasons, we define AARCH64_INSN_SIZE in
<asm/alternative-macros.h>, but it would make more sense to do so in
<asm/insn.h>. Let's move it into <asm/insn.h>, and add the necessary
include directives for this.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210609102301.17332-3-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/alternative-macros.h
arch/arm64/include/asm/insn.h
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/patching.c
arch/arm64/kernel/traps.c
arch/arm64/net/bpf_jit_comp.c