cpu-exec: Move halt handling out of cpu_exec()
commit8b2d34e997371c9729a0f41e3cc624d4300bbe78
authorSergey Fedorov <serge.fdrv@gmail.com>
Wed, 11 May 2016 10:21:47 +0000 (11 13:21 +0300)
committerRichard Henderson <rth@twiddle.net>
Fri, 13 May 2016 00:06:42 +0000 (12 14:06 -1000)
tree3997b2e2c0d3d04a7b9797819cb3ef652adee6b0
parentc6f0d9f84c43ae973270df1a77482466558ee487
cpu-exec: Move halt handling out of cpu_exec()

Simplify cpu_exec() by extracting CPU halt state handling code out of
cpu_exec() into a new static inline function cpu_handle_halt().

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1462962111-32237-2-git-send-email-sergey.fedorov@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
cpu-exec.c