diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-10 15:42:22 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-29 19:49:58 +0300 |
commit | 4d25502aa12ef1fb01e599cbfd341a8d436f4b8b (patch) | |
tree | 7a824c93ae5f937f7b1e0dbc6b3da5cbc05a1329 /arch/x86/include | |
parent | a972e29c1d6c957242a23b42f355b1fdf721cbd4 (diff) | |
download | linux-4d25502aa12ef1fb01e599cbfd341a8d436f4b8b.tar.xz |
KVM: x86/mmu: replace root_level with cpu_role.base.level
Remove another duplicate field of struct kvm_mmu. This time it's
the root level for page table walking; the separate field is
always initialized as cpu_role.base.level, so its users can look
up the CPU mode directly instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 35056341799d..aea39fe03a99 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -438,7 +438,6 @@ struct kvm_mmu { struct kvm_mmu_root_info root; union kvm_cpu_role cpu_role; union kvm_mmu_page_role root_role; - u8 root_level; bool direct_map; /* |