cputlb: cleanup get_page_addr_code to use VICTIM_TLB_HIT
commit3416343255cbe01fbe12e5e36cd4bb5042425b27
authorKONRAD Frederic <fred.konrad@greensocs.com>
Fri, 3 Feb 2017 15:27:49 +0000 (3 16:27 +0100)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Tue, 27 Jun 2017 13:09:04 +0000 (27 15:09 +0200)
tree1873abdd705892d4a83af33392786035227aec1d
parent054914f6461ce9d3427af6527ef3e5b07311c86b
cputlb: cleanup get_page_addr_code to use VICTIM_TLB_HIT

This replaces env1 and page_index variables by env and index
so we can use VICTIM_TLB_HIT macro later.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
accel/tcg/cputlb.c