projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47fc56f
)
target/riscv: remove unused macro DEFINE_CPU
author
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 6 Feb 2025 16:44:20 +0000
(17:44 +0100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 25 Feb 2025 15:18:12 +0000
(16:18 +0100)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/riscv/cpu.c
patch
|
blob
|
history
diff --git
a/target/riscv/cpu.c
b/target/riscv/cpu.c
index cca24b9f1fc99d823b642f18287d32493a15fbd7..0dcde546e47233531c7ccde773da0dae93e29604 100644
(file)
--- a/
target/riscv/cpu.c
+++ b/
target/riscv/cpu.c
@@
-3051,15
+3051,6
@@
void riscv_isa_write_fdt(RISCVCPU *cpu, void *fdt, char *nodename)
}
#endif
-#define DEFINE_CPU(type_name, misa_mxl_max, initfn) \
- { \
- .name = (type_name), \
- .parent = TYPE_RISCV_CPU, \
- .instance_init = (initfn), \
- .class_init = riscv_cpu_class_init, \
- .class_data = (void *)(misa_mxl_max) \
- }
-
#define DEFINE_DYNAMIC_CPU(type_name, misa_mxl_max, initfn) \
{ \
.name = (type_name), \