diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2024-09-06 18:18:21 -0400 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-11-01 09:22:23 -0700 |
commit | e52ad1ddd0a3b07777141ec9406d5dc2c9a0de17 (patch) | |
tree | 712a996d5157fb20a4c46e6779e0ae3d3b62ae57 /arch/x86/kvm/vmx/sgx.c | |
parent | eecf3985459a4f9128939fbbef75972d7468e4a1 (diff) |
KVM: x86: drop x86.h include from cpuid.h
Drop x86.h include from cpuid.h to allow the x86.h to include the cpuid.h
instead.
Also fix various places where x86.h was implicitly included via cpuid.h
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20240906221824.491834-2-mlevitsk@redhat.com
[sean: fixup a missed include in mtrr.c]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/kvm/vmx/sgx.c')
-rw-r--r-- | arch/x86/kvm/vmx/sgx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kvm/vmx/sgx.c b/arch/x86/kvm/vmx/sgx.c index a3c3d2a51f47..7fc64b759f85 100644 --- a/arch/x86/kvm/vmx/sgx.c +++ b/arch/x86/kvm/vmx/sgx.c @@ -4,12 +4,11 @@ #include <asm/sgx.h> -#include "cpuid.h" +#include "x86.h" #include "kvm_cache_regs.h" #include "nested.h" #include "sgx.h" #include "vmx.h" -#include "x86.h" bool __read_mostly enable_sgx = 1; module_param_named(sgx, enable_sgx, bool, 0444); |