diff options
| author | David Matlack <dmatlack@google.com> | 2022-01-19 23:07:31 +0000 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-10 13:50:40 -0500 |
| commit | 315d86da89ebee1263500c81a4aa3334cc25e169 (patch) | |
| tree | ef3a9e3be58d5666635a5792efb0124d59373ccd /tools/perf/scripts/python | |
| parent | 77c23c77f915cb1470b3036a8dd6400f5ef8986e (diff) | |
| download | cachepc-linux-315d86da89ebee1263500c81a4aa3334cc25e169.tar.gz cachepc-linux-315d86da89ebee1263500c81a4aa3334cc25e169.zip | |
KVM: x86/mmu: Move restore_acc_track_spte() to spte.h
restore_acc_track_spte() is pure SPTE bit manipulation, making it a good
fit for spte.h. And now that the WARN_ON_ONCE() calls have been removed,
there isn't any good reason to not inline it.
This move also prepares for a follow-up commit that will need to call
restore_acc_track_spte() from spte.c
No functional change intended.
Reviewed-by: Ben Gardon <bgardon@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220119230739.2234394-11-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
