projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f80a7
)
KVM: X86/MMU: Remove unused PT32_DIR_BASE_ADDR_MASK from mmu.c
author
Lai Jiangshan
<jiangshan.ljs@antgroup.com>
Sun, 5 Jun 2022 06:34:13 +0000
(14:34 +0800)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 15 Jun 2022 12:07:52 +0000
(08:07 -0400)
It is unused.
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Message-Id: <
20220605063417
.308311-3-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/mmu/mmu.c
b/arch/x86/kvm/mmu/mmu.c
index 17252f39bd7c2ef466b1519e6c97de025f0f6562..f168693695bdf62d17628e27a3b662613892a269 100644
(file)
--- a/
arch/x86/kvm/mmu/mmu.c
+++ b/
arch/x86/kvm/mmu/mmu.c
@@
-125,8
+125,6
@@
module_param(dbg, bool, 0644);
#define PT32_BASE_ADDR_MASK PAGE_MASK
-#define PT32_DIR_BASE_ADDR_MASK \
- (PAGE_MASK & ~((1ULL << (PAGE_SHIFT + PT32_LEVEL_BITS)) - 1))
#define PT32_LVL_ADDR_MASK(level) \
(PAGE_MASK & ~((1ULL << (PAGE_SHIFT + (((level) - 1) \
* PT32_LEVEL_BITS))) - 1))