summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorIgor Mammedov2018-05-15 18:00:00 +0200
committerAlistair Francis2018-09-05 18:58:38 +0200
commit1ca79ece35a5bcdcefb5a2582bc6da91f0640bf2 (patch)
treefd0f915999a43b198740185b3f9f27ecabd3eb1a /target
parenthw/riscv/spike: Set the soc device tree node as a simple-bus (diff)
downloadqemu-1ca79ece35a5bcdcefb5a2582bc6da91f0640bf2.tar.gz
qemu-1ca79ece35a5bcdcefb5a2582bc6da91f0640bf2.tar.xz
qemu-1ca79ece35a5bcdcefb5a2582bc6da91f0640bf2.zip
riscv: remove define cpu_init()
cpu_init() was removed since 2.12, so drop the define that is now unused. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Michael Clark <mjc@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target')
-rw-r--r--target/riscv/cpu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h
index e0608e6d5f..d4f36295f0 100644
--- a/target/riscv/cpu.h
+++ b/target/riscv/cpu.h
@@ -251,7 +251,6 @@ int riscv_cpu_handle_mmu_fault(CPUState *cpu, vaddr address, int size,
char *riscv_isa_string(RISCVCPU *cpu);
void riscv_cpu_list(FILE *f, fprintf_function cpu_fprintf);
-#define cpu_init(cpu_model) cpu_generic_init(TYPE_RISCV_CPU, cpu_model)
#define cpu_signal_handler cpu_riscv_signal_handler
#define cpu_list riscv_cpu_list
#define cpu_mmu_index riscv_cpu_mmu_index