ARM: VGIC: rename gic_inject() and gic_clear_lrs()
authorAndre Przywara <andre.przywara@linaro.org>
Fri, 9 Mar 2018 15:11:21 +0000 (15:11 +0000)
committerJulien Grall <julien.grall@arm.com>
Mon, 12 Mar 2018 11:42:18 +0000 (11:42 +0000)
commit0de80d62a4496559724c58a170f091b05480e907
tree4254876ac0ed2d2b3d21089d756c5a7020699e45
parent569a2f735f4021097b0af8fc4734353f3cbdf880
ARM: VGIC: rename gic_inject() and gic_clear_lrs()

The two central functions to synchronise our emulated VGIC state with
the GIC hardware (the LRs, really), are named somewhat confusingly.
Rename them from gic_inject() to vgic_sync_to_lrs() and from
gic_clear_lrs() to vgic_sync_from_lrs(), to make the code more readable.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/gic-vgic.c
xen/arch/arm/traps.c
xen/include/asm-arm/gic.h