diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-09-13 15:46:45 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-03 08:01:02 -0700 |
| commit | a953b5fa153fc384d2631cda8213efe983501609 (patch) | |
| tree | 7b60eacc84791bed8d12f0196cb1e19e768c3157 /include/exec/cpu-all.h | |
| parent | 464dacf6090d859a919596ba7452498c7446ced1 (diff) | |
| download | focaccia-qemu-a953b5fa153fc384d2631cda8213efe983501609.tar.gz focaccia-qemu-a953b5fa153fc384d2631cda8213efe983501609.zip | |
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 'include/exec/cpu-all.h')
| -rw-r--r-- | include/exec/cpu-all.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index 25cd63e1b8..114ec70359 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -472,17 +472,6 @@ static inline CPUNegativeOffsetState *env_neg(CPUArchState *env) } /** - * cpu_neg(cpu) - * @cpu: The generic CPUState - * - * Return the CPUNegativeOffsetState associated with the cpu. - */ -static inline CPUNegativeOffsetState *cpu_neg(CPUState *cpu) -{ - return &cpu->neg; -} - -/** * env_tlb(env) * @env: The architecture environment * |