target/ppc: Don't use mmu_ctx_t for mmu40x_get_physical_address()
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 12 May 2024 23:27:50 +0000 (01:27 +0200)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 23 May 2024 23:43:06 +0000 (09:43 +1000)
commit5cc867a679d4b5032284d30d22dad8e81195e60d
tree7325320cd3d355d06f92596ad11c74506831414a
parentf178e4f8949ec75d0e1e34f9b1ace646d1e6a031
target/ppc: Don't use mmu_ctx_t for mmu40x_get_physical_address()

mmu40x_get_physical_address() only uses the raddr and prot fields from
mmu_ctx_t. Pass these directly instead of using a ctx struct.

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/mmu_common.c