diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-10-25 22:57:11 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2015-12-14 14:30:43 +0300 |
commit | 9d8415d6c148a16b6d906a96f0596851d7e4d607 (patch) | |
tree | 7102eaf44dbf1007d4b05509ab27420e9b1c9b5a /arch/arm64/kvm/guest.c | |
parent | 1ea66d27e7b01086669ff2abdc3ac89dc90eae51 (diff) | |
download | linux-9d8415d6c148a16b6d906a96f0596851d7e4d607.tar.xz |
arm64: KVM: Turn system register numbers to an enum
Having the system register numbers as #defines has been a pain
since day one, as the ordering is pretty fragile, and moving
things around leads to renumbering and epic conflict resolutions.
Now that we're mostly acessing the sysreg file in C, an enum is
a much better type to use, and we can clean things up a bit.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm64/kvm/guest.c')
-rw-r--r-- | arch/arm64/kvm/guest.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kvm/guest.c b/arch/arm64/kvm/guest.c index 115522ba2461..fcb778899a38 100644 --- a/arch/arm64/kvm/guest.c +++ b/arch/arm64/kvm/guest.c @@ -28,7 +28,6 @@ #include <asm/cputype.h> #include <asm/uaccess.h> #include <asm/kvm.h> -#include <asm/kvm_asm.h> #include <asm/kvm_emulate.h> #include <asm/kvm_coproc.h> |