target/ppc: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX
commit5a376e4f40a76d8bea5426cdc7ac16c7d0a7166b
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 10 Dec 2019 20:27:21 +0000 (10 12:27 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 16 Jan 2020 01:13:10 +0000 (15 15:13 -1000)
treecffcf73ecf1d46c751d60f4ba378854d23ab71f3
parented53a636e877983dac8f78cf479db2d07555a3f6
target/ppc: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX

There are only two uses.  Within dcbz_common, the local variable
mmu_idx already contains the epid computation, and we can avoid
repeating it for the store.  Within helper_icbiep, the usage is
trivially expanded using PPC_TLB_EPID_LOAD.

Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/ppc/cpu.h
target/ppc/mem_helper.c