arm/hypercall: Use the common hcall_preempted boolean
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 Feb 2017 17:56:33 +0000 (17:56 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 16 Feb 2017 14:15:25 +0000 (14:15 +0000)
commit9353e3628a8cba7edc5aea470b448f290af76118
treedc60d17d7795799b0f0ead02839868a50d1022e9
parent928ea919fc3c5476aa9df55c3b95debc8904927f
arm/hypercall: Use the common hcall_preempted boolean

With hcall_preempted having just been made common, ARM can use use it to
simplify its hypercall handling.

This simplifies the continuation logic and removes the risk of accidentally
skipping multiple instructions.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/domain.c
xen/arch/arm/traps.c