Drop support for kernels < 4.4 from ext3 and kvm probes
[lttng-modules.git] / src / probes / lttng-probe-kvm-x86.c
index 4e4f5c8361fa1b92afc43ce05bac2d9eae4f0887..be9e2ad079c76b4bd7c6bb952913828808cb21cb 100644 (file)
 #include <lttng/tracer.h>
 #include <lttng/kernel-version.h>
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,7,0))
 #include <kvm_emulate.h>
 #endif
 
-#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
This page took 0.026331 seconds and 4 git commands to generate.