target-arm: Fix default_exception_el() function for the case when EL3 is not supported
commitcef9ee706792b1e205fe472b67053a0e82cd058e
authorSergey Sorokin <afarallax@yandex.ru>
Tue, 8 Sep 2015 16:38:44 +0000 (8 17:38 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Sep 2015 16:38:44 +0000 (8 17:38 +0100)
treebd1954051c8ac0fd27e13d133a5fc0e1b11f3171
parent0e21f183ca2d000bbda1fb63959a3d41a1c3ff42
target-arm: Fix default_exception_el() function for the case when EL3 is not supported

If EL3 is not supported in current configuration,
we should not try to get EL3 bitness.

Signed-off-by: Sergey Sorokin <afarallax@yandex.ru>
Message-id: 1441208342-10601-2-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/translate-a64.c
target-arm/translate.c
target-arm/translate.h