Skip to content

Commit 94d7a86

Browse files
jpoimboeKAGA-KOKO
authored andcommitted
x86/kvm/vmx: Remove duplicate l1d flush definitions
These are already defined higher up in the file. Fixes: 7db92e1 ("x86/kvm: Move l1tf setup function") Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/d7ca03ae210d07173452aeed85ffe344301219a5.1534253536.git.jpoimboe@redhat.com
1 parent 9df9516 commit 94d7a86

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/x86/kvm/vmx.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9726,9 +9726,6 @@ static int vmx_handle_exit(struct kvm_vcpu *vcpu)
97269726
* information but as all relevant affected CPUs have 32KiB L1D cache size
97279727
* there is no point in doing so.
97289728
*/
9729-
#define L1D_CACHE_ORDER 4
9730-
static void *vmx_l1d_flush_pages;
9731-
97329729
static void vmx_l1d_flush(struct kvm_vcpu *vcpu)
97339730
{
97349731
int size = PAGE_SIZE << L1D_CACHE_ORDER;

0 commit comments

Comments
 (0)