target/openrisc: Remove indirect function calls for mmu
commit23d45ebdb198378ae580c98ac898aa4b615059fd
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 22 May 2018 23:51:19 +0000 (22 16:51 -0700)
committerStafford Horne <shorne@gmail.com>
Mon, 2 Jul 2018 15:05:28 +0000 (3 00:05 +0900)
tree4463196c531f9677f1436f0c80132b1086642a19
parent455d45d22cc3b2c29c7840f2478647a0a3d9d8b4
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 <richard.henderson@linaro.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
target/openrisc/cpu.c
target/openrisc/cpu.h
target/openrisc/interrupt.c
target/openrisc/interrupt_helper.c
target/openrisc/machine.c
target/openrisc/mmu.c
target/openrisc/sys_helper.c