aboutsummaryrefslogtreecommitdiff
path: root/target/openrisc/cpu.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-01-28 12:46:44 +1000
committerRichard Henderson <richard.henderson@linaro.org>2024-01-29 21:04:10 +1000
commit1764ad70ce7c78b7f2f18bcf79cbab42a4e18b96 (patch)
tree2fdf10a69cac6424b542c4df8ef03c1749d3213c /target/openrisc/cpu.c
parent93c6091bfa41792b28b25cd7e3c1f578e44b0d15 (diff)
downloadqemu-1764ad70ce7c78b7f2f18bcf79cbab42a4e18b96.zip
qemu-1764ad70ce7c78b7f2f18bcf79cbab42a4e18b96.tar.gz
qemu-1764ad70ce7c78b7f2f18bcf79cbab42a4e18b96.tar.bz2
include/qemu: Add TCGCPUOps typedef to typedefs.h
QEMU coding style recommends using structure typedefs. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/openrisc/cpu.c')
-rw-r--r--target/openrisc/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/openrisc/cpu.c b/target/openrisc/cpu.c
index 381ebe0..477d49d 100644
--- a/target/openrisc/cpu.c
+++ b/target/openrisc/cpu.c
@@ -213,7 +213,7 @@ static const struct SysemuCPUOps openrisc_sysemu_ops = {
#include "hw/core/tcg-cpu-ops.h"
-static const struct TCGCPUOps openrisc_tcg_ops = {
+static const TCGCPUOps openrisc_tcg_ops = {
.initialize = openrisc_translate_init,
.synchronize_from_tb = openrisc_cpu_synchronize_from_tb,
.restore_state_to_opc = openrisc_restore_state_to_opc,