From 23d45ebdb198378ae580c98ac898aa4b615059fd Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 22 May 2018 16:51:19 -0700 Subject: target/openrisc: Remove indirect function calls for mmu There is no reason to use an indirect branch instead of simply testing the SR bits that control mmu state. Signed-off-by: Richard Henderson Signed-off-by: Stafford Horne --- target/openrisc/cpu.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'target/openrisc/cpu.c') diff --git a/target/openrisc/cpu.c b/target/openrisc/cpu.c index fa8e342..b92de51 100644 --- a/target/openrisc/cpu.c +++ b/target/openrisc/cpu.c @@ -92,10 +92,6 @@ static void openrisc_cpu_initfn(Object *obj) OpenRISCCPU *cpu = OPENRISC_CPU(obj); cs->env_ptr = &cpu->env; - -#ifndef CONFIG_USER_ONLY - cpu_openrisc_mmu_init(cpu); -#endif } /* CPU models */ -- cgit v1.1