diff options
author | Zhao Liu <zhao1.liu@intel.com> | 2024-10-29 16:59:29 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-10 18:49:25 +0100 |
commit | 96a4616dfcd3caa956373469fc70ff882ab1af9f (patch) | |
tree | 67c890ea4eeb86af9d4f652b99f259310f3570ae | |
parent | 81b69b502e3f67d357766ad42ae9a3f8bd675ad2 (diff) | |
download | qemu-96a4616dfcd3caa956373469fc70ff882ab1af9f.zip qemu-96a4616dfcd3caa956373469fc70ff882ab1af9f.tar.gz qemu-96a4616dfcd3caa956373469fc70ff882ab1af9f.tar.bz2 |
target/mips: Replace type_register() with type_register_static()
Replace type_register() with type_register_static() because
type_register() will be deprecated.
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20241029085934.2799066-12-zhao1.liu@intel.com
-rw-r--r-- | target/mips/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/mips/cpu.c b/target/mips/cpu.c index d0a43b6..4feacc8 100644 --- a/target/mips/cpu.c +++ b/target/mips/cpu.c @@ -626,7 +626,7 @@ static void mips_register_cpudef_type(const struct mips_def_t *def) .class_data = (void *)def, }; - type_register(&ti); + type_register_static(&ti); g_free(typename); } |