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 <[email protected]>
Reviewed-by: Harsh Prateek Bora <[email protected]>
---
target/ppc/excp_helper.c | 118 +++++++++++++++++++++------------------
1 file changed, 63 insertions(+), 55 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>