target-arm: Fix arm_excp_unmasked() function
commit771842585f3119f69641ed90a97d56eb9ed6f5ae
authorSergey Sorokin <afarallax@yandex.ru>
Mon, 7 Sep 2015 09:39:30 +0000 (7 10:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Sep 2015 09:39:30 +0000 (7 10:39 +0100)
tree8ba83dc8ad25d5877f05a623059085bb1a3163a7
parent5125f9cd2532f0aca25d966ecd27d0e30d4af7c9
target-arm: Fix arm_excp_unmasked() function

There is an error in arm_excp_unmasked() function:
bitwise operator & is used with integer and bool operands
causing an incorrect zeroed result.
The patch fixes it.

Signed-off-by: Sergey Sorokin <afarallax@yandex.ru>
Message-id: 1441209238-16881-1-git-send-email-afarallax@yandex.ru
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.h