On 22/2/24 12:33, BALATON Zoltan wrote:
Use the env_cpu function to get the CPUState for cpu_abort. These are
only needed in case of fatal errors so this allows to avoid casting
and storing CPUState in a local variable wnen not needed.

Signed-off-by: BALATON Zoltan <bala...@eik.bme.hu>
Reviewed-by: Harsh Prateek Bora <hars...@linux.ibm.com>
---
  target/ppc/excp_helper.c | 118 +++++++++++++++++++++------------------
  1 file changed, 63 insertions(+), 55 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to