aboutsummaryrefslogtreecommitdiff
path: root/accel/tcg/tcg-accel-ops.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-09-13 15:46:45 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-10-03 08:01:02 -0700
commita953b5fa153fc384d2631cda8213efe983501609 (patch)
tree7b60eacc84791bed8d12f0196cb1e19e768c3157 /accel/tcg/tcg-accel-ops.c
parent464dacf6090d859a919596ba7452498c7446ced1 (diff)
downloadqemu-a953b5fa153fc384d2631cda8213efe983501609.zip
qemu-a953b5fa153fc384d2631cda8213efe983501609.tar.gz
qemu-a953b5fa153fc384d2631cda8213efe983501609.tar.bz2
accel/tcg: Remove cpu_neg()
Now that CPUNegativeOffsetState is part of CPUState, we can reference it directly. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/tcg-accel-ops.c')
-rw-r--r--accel/tcg/tcg-accel-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/tcg/tcg-accel-ops.c b/accel/tcg/tcg-accel-ops.c
index 3973591..d885cc1 100644
--- a/accel/tcg/tcg-accel-ops.c
+++ b/accel/tcg/tcg-accel-ops.c
@@ -91,7 +91,7 @@ void tcg_handle_interrupt(CPUState *cpu, int mask)
if (!qemu_cpu_is_self(cpu)) {
qemu_cpu_kick(cpu);
} else {
- qatomic_set(&cpu_neg(cpu)->icount_decr.u16.high, -1);
+ qatomic_set(&cpu->neg.icount_decr.u16.high, -1);
}
}