summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJan Dakinevich <jan.dakinevich@gmail.com>2016-12-23 01:13:53 +0300
committerRadim Krčmář <rkrcmar@redhat.com>2017-01-05 15:08:48 +0100
commit69130ea1e6b9167d2459e2bab521196d0a0c0e68 (patch)
treeb7d19230137716bbbc317aa83bc8a02cddc80564 /arch
parent32eb12a6c11034867401d56b012e3c15d5f8141e (diff)
downloadlinux-0-day-69130ea1e6b9167d2459e2bab521196d0a0c0e68.tar.gz
linux-0-day-69130ea1e6b9167d2459e2bab521196d0a0c0e68.tar.xz
KVM: VMX: remove duplicated declaration
Declaration of VMX_VPID_EXTENT_SUPPORTED_MASK occures twice in the code. Probably, it was happened after unsuccessful merge. Signed-off-by: Jan Dakinevich <jan.dakinevich@gmail.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/vmx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index ba20b00a450f8..a236decb81e4f 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -132,12 +132,6 @@ module_param_named(preemption_timer, enable_preemption_timer, bool, S_IRUGO);
#define VMX_MISC_EMULATED_PREEMPTION_TIMER_RATE 5
-#define VMX_VPID_EXTENT_SUPPORTED_MASK \
- (VMX_VPID_EXTENT_INDIVIDUAL_ADDR_BIT | \
- VMX_VPID_EXTENT_SINGLE_CONTEXT_BIT | \
- VMX_VPID_EXTENT_GLOBAL_CONTEXT_BIT | \
- VMX_VPID_EXTENT_SINGLE_NON_GLOBAL_BIT)
-
/*
* Hyper-V requires all of these, so mark them as supported even though
* they are just treated the same as all-context.