probe kvm x86 mmu: remove compatibility code
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 20:53:23 +0000 (16:53 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 20:56:30 +0000 (16:56 -0400)
probes/lttng-probe-kvm-x86-mmu.c

index d8cc5e5e01c9541258a8aa92c5ea17ddf94b21c5..d731708baec0c788e9c35768a793f7bb38b383c4 100644 (file)
 #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
This page took 0.02529 seconds and 4 git commands to generate.