diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-27 11:26:16 +0100 |
|---|---|---|
| committer | Nicholas Piggin <npiggin@gmail.com> | 2025-03-11 22:43:31 +1000 |
| commit | b8d6a858fef723616f5a0e244ef0802700ab88d4 (patch) | |
| tree | c65504079b3e3d77e826e82377b12b87e2c2b811 | |
| parent | ad8ad893a3f563b7ed8df6665d48f47c6337c7a8 (diff) | |
| download | focaccia-qemu-b8d6a858fef723616f5a0e244ef0802700ab88d4.tar.gz focaccia-qemu-b8d6a858fef723616f5a0e244ef0802700ab88d4.zip | |
target/ppc: Fix style in excp_helper.c
Fix style in do_rfi() before moving the code around. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Message-ID: <20250127102620.39159-13-philmd@linaro.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
| -rw-r--r-- | target/ppc/excp_helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c index 511e27f726..659852543f 100644 --- a/target/ppc/excp_helper.c +++ b/target/ppc/excp_helper.c @@ -2558,8 +2558,9 @@ static void do_rfi(CPUPPCState *env, target_ulong nip, target_ulong msr) msr &= ~(1ULL << MSR_POW); /* MSR:TGPR cannot be set by any form of rfi */ - if (env->flags & POWERPC_FLAG_TGPR) + if (env->flags & POWERPC_FLAG_TGPR) { msr &= ~(1ULL << MSR_TGPR); + } #ifdef TARGET_PPC64 /* Switching to 32-bit ? Crop the nip */ |