probe kvm x86 mmu: remove compatibility code
[lttng-modules.git] / probes / lttng-probe-kvm-x86-mmu.c
index 37384a27b8f8879fdb2bd5ef41e663cea9e16b20..d731708baec0c788e9c35768a793f7bb38b383c4 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
+/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
  *
  * probes/lttng-probe-kvm.c
  *
 #include <linux/module.h>
 #include <linux/kvm_host.h>
 #include <lttng-tracer.h>
-#include <lttng-kernel-version.h>
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0))
 #include <kvm/iodev.h>
-#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) */
-#include <../../virt/kvm/iodev.h>
-#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) */
 
 /*
  * Create the tracepoint static inlines from the kernel to validate that our
  * trace event macros match the kernel we run on.
  */
-#include <wrapper/tracepoint.h>
+#include "lttng-tracepoint.h"
 
 #include <../../arch/x86/kvm/mmutrace.h>
 
This page took 0.024128 seconds and 4 git commands to generate.