aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2020-02-18 15:36:50 +1100
committerPaul Mackerras <[email protected]>2020-03-19 16:39:52 +1100
commitafd313564cf1904bbdb52052c80a2522b55782d3 (patch)
treef4eee827c43dffe2367504d5418d5be51c4e5068 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parentcd758a9b57ee85f0733c759e60f42b969c81f27b (diff)
KVM: PPC: Book3S HV: Use RADIX_PTE_INDEX_SIZE in Radix MMU code
In kvmppc_unmap_free_pte() in book3s_64_mmu_radix.c, we use the non-constant value PTE_INDEX_SIZE to clear a PTE page. We can instead use the constant RADIX_PTE_INDEX_SIZE, because we know this code will only be running when the Radix MMU is active. Note that we already use RADIX_PTE_INDEX_SIZE for the allocation of kvm_pte_cache. Signed-off-by: Michael Ellerman <[email protected]> Reviewed-by: Leonardo Bras <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions