diff options
author | 2020-10-22 06:29:36 +0000 | |
---|---|---|
committer | 2020-12-09 16:46:55 +1100 | |
commit | fd1b4b7f51d0d75b73eeda41ef459ea7791aaab2 (patch) | |
tree | 5d4e2f634c8cefb7c6cfd18ac91ed3a150213634 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/32s: Move _tlbie() and _tlbia() in a new file (diff) | |
download | linux-dev-fd1b4b7f51d0d75b73eeda41ef459ea7791aaab2.tar.xz linux-dev-fd1b4b7f51d0d75b73eeda41ef459ea7791aaab2.zip |
powerpc/32s: Split and inline flush_tlb_mm() and flush_tlb_page()
flush_tlb_mm() and flush_tlb_page() handle both the MMU_FTR_HPTE_TABLE
case and the other case.
The non MMU_FTR_HPTE_TABLE case is trivial as it is only a call
to _tlbie()/_tlbia() which is not worth a dedicated function.
Make flush_tlb_mm() and flush_tlb_page() hash specific and call
them from tlbflush.h based on mmu_has_feature(MMU_FTR_HPTE_TABLE).
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/11e932ded41ba6d9b251d89b7afa33cc060d3aa4.1603348103.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions