target/rx/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Rename riscv_cpu_mmu_index() -> rx_cpu_mmu_index().
Fixes: ef5cc166da1 ("target/rx: Populate CPUClass.mmu_index")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/rx/cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/rx/cpu.c b/target/rx/cpu.c
index 65e26e7a6b6..723262f4b54 100644
--- a/target/rx/cpu.c
+++ b/target/rx/cpu.c
@@ -67,7 +67,7 @@ static bool rx_cpu_has_work(CPUState *cs)
(CPU_INTERRUPT_HARD | CPU_INTERRUPT_FIR);
}
-static int riscv_cpu_mmu_index(CPUState *cs, bool ifunc)
+static int rx_cpu_mmu_index(CPUState *cs, bool ifunc)
{
return 0;
}
@@ -228,7 +228,7 @@ static void rx_cpu_class_init(ObjectClass *klass, void *data)
&rcc->parent_phases);
cc->class_by_name = rx_cpu_class_by_name;
- cc->mmu_index = riscv_cpu_mmu_index;
+ cc->mmu_index = rx_cpu_mmu_index;
cc->dump_state = rx_cpu_dump_state;
cc->set_pc = rx_cpu_set_pc;
cc->get_pc = rx_cpu_get_pc;
--
2.47.1
On 4/1/25 00:20, Philippe Mathieu-Daudé wrote:
> Rename riscv_cpu_mmu_index() -> rx_cpu_mmu_index().
>
> Fixes: ef5cc166da1 ("target/rx: Populate CPUClass.mmu_index")
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> target/rx/cpu.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/target/rx/cpu.c b/target/rx/cpu.c
> index 65e26e7a6b6..723262f4b54 100644
> --- a/target/rx/cpu.c
> +++ b/target/rx/cpu.c
> @@ -67,7 +67,7 @@ static bool rx_cpu_has_work(CPUState *cs)
> (CPU_INTERRUPT_HARD | CPU_INTERRUPT_FIR);
> }
>
> -static int riscv_cpu_mmu_index(CPUState *cs, bool ifunc)
> +static int rx_cpu_mmu_index(CPUState *cs, bool ifunc)
> {
> return 0;
> }
> @@ -228,7 +228,7 @@ static void rx_cpu_class_init(ObjectClass *klass, void *data)
> &rcc->parent_phases);
>
> cc->class_by_name = rx_cpu_class_by_name;
> - cc->mmu_index = riscv_cpu_mmu_index;
> + cc->mmu_index = rx_cpu_mmu_index;
> cc->dump_state = rx_cpu_dump_state;
> cc->set_pc = rx_cpu_set_pc;
> cc->get_pc = rx_cpu_get_pc;
Queued to tcg-next, thanks.
r~
On 4/1/25 02:20, Philippe Mathieu-Daudé wrote:
> Rename riscv_cpu_mmu_index() -> rx_cpu_mmu_index().
>
> Fixes: ef5cc166da1 ("target/rx: Populate CPUClass.mmu_index")
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> target/rx/cpu.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
>
> diff --git a/target/rx/cpu.c b/target/rx/cpu.c
> index 65e26e7a6b6..723262f4b54 100644
> --- a/target/rx/cpu.c
> +++ b/target/rx/cpu.c
> @@ -67,7 +67,7 @@ static bool rx_cpu_has_work(CPUState *cs)
> (CPU_INTERRUPT_HARD | CPU_INTERRUPT_FIR);
> }
>
> -static int riscv_cpu_mmu_index(CPUState *cs, bool ifunc)
> +static int rx_cpu_mmu_index(CPUState *cs, bool ifunc)
> {
> return 0;
> }
> @@ -228,7 +228,7 @@ static void rx_cpu_class_init(ObjectClass *klass, void *data)
> &rcc->parent_phases);
>
> cc->class_by_name = rx_cpu_class_by_name;
> - cc->mmu_index = riscv_cpu_mmu_index;
> + cc->mmu_index = rx_cpu_mmu_index;
> cc->dump_state = rx_cpu_dump_state;
> cc->set_pc = rx_cpu_set_pc;
> cc->get_pc = rx_cpu_get_pc;
© 2016 - 2025 Red Hat, Inc.