target/ppc: Unexport some functions from mmu-book3s-v3.h
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 26 May 2024 23:13:06 +0000 (01:13 +0200)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:51:34 +0000 (09:51 +1000)
commit14a43ab3335afb3f68ca103739405178abe070ea
tree2c42e3eb3fd6048f0bb1d2b9626b711feb9150c1
parent9eb0530033ac3a52fcca055213bc512e4e29b954
target/ppc: Unexport some functions from mmu-book3s-v3.h

The ppc_hash64_hpt_base() and ppc_hash64_hpt_mask() functions are
mostly used by mmu-hash64.c only but there is one call to
ppc_hash64_hpt_mask() in hw/ppc/spapr_vhyp_mmu.c.in a helper function
that can be moved to mmu-hash64.c which allows these functions to be
removed from the header.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/spapr_vhyp_mmu.c
target/ppc/mmu-book3s-v3.h
target/ppc/mmu-hash64.c
target/ppc/mmu-hash64.h