diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2024-05-13 01:28:09 +0200 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2024-05-24 09:43:14 +1000 |
commit | e48fb4c590a23d81ee1d2f09ee9bcf5dd5f98e43 (patch) | |
tree | e5a84eb7a1c9ec0f6ee8957c4c076e2b05297c51 /event-loop-base.c | |
parent | e7baac649bb3d9d72a3e79fc43e360d7ac99aead (diff) |
target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot()
The ppc_hash32_pp_prot() function in mmu-hash32.c is the same as
pp_check() in mmu_common.c, merge these to remove duplicated code.
Define the common function as static lnline otherwise exporting the
function from mmu-hash32.c would stop the compiler inlining it which
results in slightly lower performance.
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
[np: move ppc_hash32_pp_prot inline without changing it]
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'event-loop-base.c')
0 files changed, 0 insertions, 0 deletions