]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Add cpu local variable to exception_return helper
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 12 Mar 2025 13:25:08 +0000 (13:25 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Mar 2025 12:54:33 +0000 (12:54 +0000)
commit44ab8c248dee2d899dfe858ce1962fedcd3398a1
tree37c9f64df35aebffe68cba972a2d0b9719862c18
parent39ec3fc030166c594a64d1d197e29fa9d100d4c5
target/arm: Add cpu local variable to exception_return helper

We already call env_archcpu() multiple times within the
exception_return helper function, and we're about to want to
add another use of the ARMCPU pointer. Add a local variable
cpu so we can call env_archcpu() just once.

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