KVM: arm64: use common invariant sysreg definitions
authorMark Rutland <mark.rutland@arm.com>
Fri, 13 Jan 2017 18:36:26 +0000 (18:36 +0000)
committerMark Rutland <mark.rutland@arm.com>
Wed, 22 Mar 2017 18:38:18 +0000 (18:38 +0000)
commit0d449541c185f23347feed6f9ea1994fd1707a06
treea511c0804776780368de06c10808e8a2804b7a0f
parentb2d693ced214f808059d539b6cc0fe551d1bc0e4
KVM: arm64: use common invariant sysreg definitions

Now that we have common definitions for the register encodings used by
KVM, make the KVM code uses thse for invariant sysreg definitions. This
makes said definitions a reasonable amount shorter, especially as many
comments are rendered redundant and can be removed.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: kvmarm@lists.cs.columbia.edu
arch/arm64/kvm/sys_regs.c