diff options
author | Sean Christopherson <seanjc@google.com> | 2023-07-28 17:47:14 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-08-31 13:48:42 -0400 |
commit | 242a6dd8daddbc718a3ad585ce4dce042c13e208 (patch) | |
tree | 9a0fbdf95452e6b76178bb47e76e4868bf7b1a1a /Kbuild | |
parent | c4f92cfe021d9263a554f8adcd7c49ef52e485bb (diff) | |
download | lwn-242a6dd8daddbc718a3ad585ce4dce042c13e208.tar.gz lwn-242a6dd8daddbc718a3ad585ce4dce042c13e208.zip |
KVM: x86/mmu: Avoid pointer arithmetic when iterating over SPTEs
Replace the pointer arithmetic used to iterate over SPTEs in
is_empty_shadow_page() with more standard interger-based iteration.
No functional change intended.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/20230729004722.1056172-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions