Re: [PATCH] KVM: x86/mmu: Include mmu.h in spte.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 08 Aug 2023 15:40:59 -0700, Sean Christopherson wrote:
> Explicitly include mmu.h in spte.h instead of relying on the "parent" to
> include mmu.h.  spte.h references a variety of macros and variables that
> are defined/declared in mmu.h, and so including spte.h before (or instead
> of) mmu.h will result in build errors, e.g.
> 
>   arch/x86/kvm/mmu/spte.h: In function ‘is_mmio_spte’:
>   arch/x86/kvm/mmu/spte.h:242:23: error: ‘enable_mmio_caching’ undeclared
>     242 |                likely(enable_mmio_caching);
>         |                       ^~~~~~~~~~~~~~~~~~~
> 
> [...]

Applied to kvm-x86 mmu, thanks!

[1/1] KVM: x86/mmu: Include mmu.h in spte.h
      https://github.com/kvm-x86/linux/commit/bfd926291c58

--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux