Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 1 | From e10ab43dd0e425df5bc0ac763447664ed075ba05 Mon Sep 17 00:00:00 2001 |
| 2 | From: Michael Jeanson <mjeanson@efficios.com> |
| 3 | Date: Mon, 10 Aug 2020 11:22:05 -0400 |
| 4 | Subject: [PATCH 02/10] fix: Move mmutrace.h into the mmu/ sub-directory (v5.9) |
| 5 | |
| 6 | commit 33e3042dac6bcc33b80835f7d7b502b1d74c457c |
| 7 | Author: Sean Christopherson <sean.j.christopherson@intel.com> |
| 8 | Date: Mon Jun 22 13:20:29 2020 -0700 |
| 9 | |
| 10 | KVM: x86/mmu: Move mmu_audit.c and mmutrace.h into the mmu/ sub-directory |
| 11 | |
| 12 | Move mmu_audit.c and mmutrace.h under mmu/ where they belong. |
| 13 | |
| 14 | Upstream-Status: Backport |
| 15 | |
| 16 | Change-Id: I582525ccca34e1e3bd62870364108a7d3e9df2e4 |
| 17 | Signed-off-by: Michael Jeanson <mjeanson@efficios.com> |
| 18 | Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 19 | --- |
| 20 | probes/lttng-probe-kvm-x86-mmu.c | 4 ++++ |
| 21 | 1 file changed, 4 insertions(+) |
| 22 | |
| 23 | diff --git a/probes/lttng-probe-kvm-x86-mmu.c b/probes/lttng-probe-kvm-x86-mmu.c |
| 24 | index 37384a2..5a7ef1e 100644 |
| 25 | --- a/probes/lttng-probe-kvm-x86-mmu.c |
| 26 | +++ b/probes/lttng-probe-kvm-x86-mmu.c |
| 27 | @@ -24,7 +24,11 @@ |
| 28 | */ |
| 29 | #include <wrapper/tracepoint.h> |
| 30 | |
| 31 | +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,0)) |
| 32 | +#include <../../arch/x86/kvm/mmu/mmutrace.h> |
| 33 | +#else |
| 34 | #include <../../arch/x86/kvm/mmutrace.h> |
| 35 | +#endif |
| 36 | |
| 37 | #undef TRACE_INCLUDE_PATH |
| 38 | #undef TRACE_INCLUDE_FILE |
| 39 | -- |
| 40 | 2.19.1 |
| 41 | |