target/arm: Check aa32_pan in take_aarch32_exception(), not aa64_pan
commitf8af1143ef93954e77cf59e09b5e004dafbd64fd
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Feb 2020 17:50:57 +0000 (14 17:50 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 21 Feb 2020 16:07:00 +0000 (21 16:07 +0000)
tree62332563a07d2de02d5f146e60e5508d37dfcb82
parent873b73c0c891ec20adacc7bd1ae789294334d675
target/arm: Check aa32_pan in take_aarch32_exception(), not aa64_pan

In take_aarch32_exception(), we know we are dealing with a CPU that
has AArch32, so the right isar_feature test is aa32_pan, not aa64_pan.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200214175116.9164-3-peter.maydell@linaro.org
target/arm/helper.c