diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-15 10:15:56 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-20 06:21:29 -0400 |
| commit | f6b8ea6d43640ebfd1aeaa1faf1016d0bff7b8a0 (patch) | |
| tree | 66914d1e9be136434399c98bae9498b10547e385 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 2ca3129e8045b18eb15431b485d40c028fe8fb00 (diff) | |
| download | linux-f6b8ea6d43640ebfd1aeaa1faf1016d0bff7b8a0.tar.gz linux-f6b8ea6d43640ebfd1aeaa1faf1016d0bff7b8a0.zip | |
KVM: x86/mmu: Use common macros to compute 32/64-bit paging masks
Dedup the code for generating (most of) the per-type PT_* masks in
paging_tmpl.h. The relevant macros only vary based on the number of bits
per level, and that smidge of info is already provided in a common form
as PT_LEVEL_BITS.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220614233328.3896033-7-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
