arm64: kvm: move to ESR_ELx macros
authorMark Rutland <mark.rutland@arm.com>
Mon, 24 Nov 2014 13:59:30 +0000 (13:59 +0000)
committerMark Rutland <mark.rutland@arm.com>
Thu, 15 Jan 2015 12:24:25 +0000 (12:24 +0000)
commitc6d01a947a51193e839516165286bc8d14a0e409
treeda329869e3bd4187a6ebfc4f80ef0efd31629c07
parent60a1f02c9e91e0796b54e83b14fb8a07f7a568b6
arm64: kvm: move to ESR_ELx macros

Now that we have common ESR_ELx macros, make use of them in the arm64
KVM code. The addition of <asm/esr.h> to the include path highlighted
badly ordered (i.e. not alphabetical) include lists; these are changed
to alphabetical order.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/kvm_emulate.h
arch/arm64/kvm/emulate.c
arch/arm64/kvm/handle_exit.c
arch/arm64/kvm/hyp.S
arch/arm64/kvm/inject_fault.c
arch/arm64/kvm/sys_regs.c