ppc: Remove redundant macro MSR_BOOK3S_MASK.
PATCH 1/1 ppc: Remove redundant macro MSR_BOOK3S_MASK.
Signed-off-by Yonggang Luo <[email protected]>
--- target/ppc/excp_helper.c | 1 - 1 file changed, 1 deletion(-)
target/ppc/excp_helper.c +0 -1
@@ -2015,7 +2015,6 @@ void helper_rfi(CPUPPCState *env)do_rfi (env, env->spr[SPR_SRR0 ], env->spr[SPR_SRR1 ] &0xfffffffful ); } -#define MSR_BOOK3S_MASK #if defined(TARGET_PPC64 )void helper_rfid (CPUPPCState *env) {
Signature · 1 line
2.36.1.windows.1
Quoted 10 lines · Yonggang Luo
Signed-off-by Yonggang Luo <[email protected]>--- target/ppc/excp_helper.c | 1 - 1 file changed, 1 deletion(-)target/ppc/excp_helper.c +0
-0
target/ppc/excp_helper.c void helper_rfi(CPUPPCState *env) · line 2018
Quoted 4 lines
target/ppc/excp_helper.c +0
-1@@ -2015,7 +2015,6 @@ void helper_rfi(CPUPPCState *env)do_rfi (env, env->spr[SPR_SRR0 ], env->spr[SPR_SRR1 ] &0xfffffffful ); } -#define MSR_BOOK3S_MASK
The tag was introduced by a2e71b28e832 ("ppc: Fix rfi/rfid/hrfi/... emulation"). Even back then it wasn't being used.
Reviewed-by Daniel Henrique Barboza <[email protected]>
Laurent, I believe this is qemu-trivial material. Let me know if you want me to get it via the ppc tree instead.
Daniel
Quoted 3 lines
target/ppc/excp_helper.c +0
-0#if defined(TARGET_PPC64 )void helper_rfid (CPUPPCState *env) {
Laurent Vivier
AppliedLe 28/07/2022 à 22:11, Yonggang Luo a écrit :
Quoted 10 lines
Signed-off-by Yonggang Luo <[email protected]>--- target/ppc/excp_helper.c | 1 - 1 file changed, 1 deletion(-)target/ppc/excp_helper.c +0
-0
target/ppc/excp_helper.c void helper_rfi(CPUPPCState *env) · line 2020
Quoted 7 lines
target/ppc/excp_helper.c +0
-1@@ -2015,7 +2015,6 @@ void helper_rfi(CPUPPCState *env)do_rfi (env, env->spr[SPR_SRR0 ], env->spr[SPR_SRR1 ] &0xfffffffful ); } -#define MSR_BOOK3S_MASK #if defined(TARGET_PPC64 )void helper_rfid (CPUPPCState *env) {
Applied to my trivial-patches branch.
Thanks,
Laurent