Commit d5020b82 authored by Marc Zyngier's avatar Marc Zyngier Committed by Amit Pundir
Browse files

UPSTREAM: 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: default avatarMarc Zyngier <marc.zyngier@arm.com>
Acked-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit 9d8415d6)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 2c6b5dff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment