[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] riscv: remove define cpu_init()
From: |
Michael Clark |
Subject: |
Re: [Qemu-devel] [PATCH v2] riscv: remove define cpu_init() |
Date: |
Fri, 18 May 2018 14:10:24 +1200 |
On Wed, May 16, 2018 at 4:00 AM, Igor Mammedov <address@hidden> wrote:
> cpu_init() was removed since 2.12, so drop the define that is now unused.
>
> Signed-off-by: Igor Mammedov <address@hidden>
> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
>
Reviewed-by: Michael Clark <address@hidden>
---
> v2:
> * refine commit message (Eric Blake <address@hidden>)
> ---
> target/riscv/cpu.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h
> index 34abc38..0562a02 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
> --
> 2.7.4
>
>