@samitouri / QOSamiQemu / commits / 173eaeda62

target/ppc/mmu: Remove unused hash32_store_hpte() helpers

The hash32_store_hpte() helpers are unused since commit 6e8a65abbbd ("ppc/hash32: Rework R and C bit updates"), 7 years ago. Remove them. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Message-Id: <20260319111936.68041-4-philmd@linaro.org>

Philippe Mathieu-Daudé committed Mar 18, 2026 at 14:41 UTC 173eaeda62739283a03aadd047c5f8ce556d34f9
1 file changed -16
target/ppc/mmu-hash32.h
-16
@@ -87,22 +87,6 @@ static inline target_ulong ppc_hash32_load_hpte1(PowerPCCPU *cpu,
87 return ldl_phys(CPU(cpu)->as, base + pte_offset + HASH_PTE_SIZE_32 / 2);
88 }
89
90 -static inline void ppc_hash32_store_hpte0(PowerPCCPU *cpu,
91 - hwaddr pte_offset, target_ulong pte0)
92 -{
93 - target_ulong base = ppc_hash32_hpt_base(cpu);
94 -
95 - stl_phys(CPU(cpu)->as, base + pte_offset, pte0);
96 -}
97 -
98 -static inline void ppc_hash32_store_hpte1(PowerPCCPU *cpu,
99 - hwaddr pte_offset, target_ulong pte1)
100 -{
101 - target_ulong base = ppc_hash32_hpt_base(cpu);
102 -
103 - stl_phys(CPU(cpu)->as, base + pte_offset + HASH_PTE_SIZE_32 / 2, pte1);
104 -}
105 -
90 static inline hwaddr get_pteg_offset32(PowerPCCPU *cpu, hwaddr hash)
91 {
92 return (hash * HASH_PTEG_SIZE_32) & ppc_hash32_hpt_mask(cpu);