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.11.6~16 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ac42bcf7803cacadd1e239fb026510a3a8527638;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/probes/lttng-probe-kvm-x86-mmu.c b/probes/lttng-probe-kvm-x86-mmu.c index 5a7ef1e6..8f981865 100644 --- a/probes/lttng-probe-kvm-x86-mmu.c +++ b/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>