xen/arm: gic: Use bool instead of uint8_t for the hw_status in gic_lr
authorJulien Grall <julien.grall@arm.com>
Thu, 15 Mar 2018 20:30:10 +0000 (20:30 +0000)
committerJulien Grall <julien.grall@arm.com>
Tue, 20 Mar 2018 08:21:11 +0000 (08:21 +0000)
commit9100b6f0e8fc3ea6e03ab56c9c7538326f654606
tree34e609c326b1ec0e1728d89a4a280065ad5d25eb
parent5fb8dd60d3d43b20dce4f4bc9091f94200709f93
xen/arm: gic: Use bool instead of uint8_t for the hw_status in gic_lr

hw_status can only be 1 or 0. So convert to a bool.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic-v2.c
xen/arch/arm/gic-v3.c
xen/include/asm-arm/gic.h