diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-09-13 16:54:52 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-09 12:31:14 -0500 |
commit | 3adbdf81038801ee84367845e78bb1a3b36bde39 (patch) | |
tree | a42e03e6836b29d8848402609f19ef76d5794676 /include/linux/rcuwait_api.h | |
parent | fa3e42037ef53c2aea85faf51d6f947e16dd8fc5 (diff) |
KVM: x86/mmu: use helper macro SPTE_ENT_PER_PAGE
Use helper macro SPTE_ENT_PER_PAGE to get the number of spte entries
per page. Minor readability improvement.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220913085452.25561-1-linmiaohe@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/rcuwait_api.h')
0 files changed, 0 insertions, 0 deletions