From: Michael Jeanson Date: Mon, 10 Aug 2020 15:36:03 +0000 (-0400) Subject: fix: KVM: x86/mmu: Make kvm_mmu_page definition and accessor internal-only (v5.9) X-Git-Tag: v2.13.0-rc1~178 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=daeda935f511f2f423311b9fa2e5c312781f8806;p=lttng-modules.git fix: KVM: x86/mmu: Make kvm_mmu_page definition and accessor internal-only (v5.9) commit 985ab2780164698ec6e7d73fad523d50449261dd Author: Sean Christopherson Date: Mon Jun 22 13:20:32 2020 -0700 KVM: x86/mmu: Make kvm_mmu_page definition and accessor internal-only Make 'struct kvm_mmu_page' MMU-only, nothing outside of the MMU should be poking into the gory details of shadow pages. Change-Id: Ia5c1b9c49c2b00dad1d5b17c50c3dc730dafda20 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/src/probes/lttng-probe-kvm-x86-mmu.c b/src/probes/lttng-probe-kvm-x86-mmu.c index 13ed5ef5..7d1692b5 100644 --- a/src/probes/lttng-probe-kvm-x86-mmu.c +++ b/src/probes/lttng-probe-kvm-x86-mmu.c @@ -25,6 +25,7 @@ #include #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,0)) +#include <../../arch/x86/kvm/mmu/mmu_internal.h> #include <../../arch/x86/kvm/mmu/mmutrace.h> #else #include <../../arch/x86/kvm/mmutrace.h>