From: Richard Henderson Date: Mon, 4 Oct 2021 22:08:04 +0000 (-0700) Subject: linux-user/ppc: Remove POWERPC_EXCP_ALIGN handling X-Git-Tag: v6.2.0-rc0~25^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5057ae5636cbdaea3f61a5800c2ee1961d986adf;p=thirdparty%2Fqemu.git linux-user/ppc: Remove POWERPC_EXCP_ALIGN handling We will raise SIGBUS directly from cpu_loop_exit_sigbus. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- diff --git a/linux-user/ppc/cpu_loop.c b/linux-user/ppc/cpu_loop.c index 840b23736bf..483e669300f 100644 --- a/linux-user/ppc/cpu_loop.c +++ b/linux-user/ppc/cpu_loop.c @@ -162,14 +162,6 @@ void cpu_loop(CPUPPCState *env) cpu_abort(cs, "External interrupt while in user mode. " "Aborting\n"); break; - case POWERPC_EXCP_ALIGN: /* Alignment exception */ - /* XXX: check this */ - info.si_signo = TARGET_SIGBUS; - info.si_errno = 0; - info.si_code = TARGET_BUS_ADRALN; - info._sifields._sigfault._addr = env->nip; - queue_signal(env, info.si_signo, QEMU_SI_FAULT, &info); - break; case POWERPC_EXCP_PROGRAM: /* Program exception */ case POWERPC_EXCP_HV_EMU: /* HV emulation */ /* XXX: check this */