xen/arm: fix GIC_INVALID_LR
authorStefano Stabellini <sstabellini@kernel.org>
Thu, 22 Dec 2016 02:15:10 +0000 (18:15 -0800)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 3 Jan 2017 21:52:35 +0000 (13:52 -0800)
commite03d4e867456cf4e288aee79b04da05d3626c242
tree4e899d1dd73034e0d6474350203035292b76ce71
parente34bc403c3c7dc0075111fa9cd29e2a385bc66ed
xen/arm: fix GIC_INVALID_LR

GIC_INVALID_LR should be 0xff, but actually, defined as ~(uint8_t)0, is
0xffffffff. Fix the problem by placing the ~ operator before the cast.

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/include/asm-arm/vgic.h