From: Mathieu Desnoyers Date: Mon, 13 Apr 2020 20:53:01 +0000 (-0400) Subject: probe kvm x86: remove compatibility code X-Git-Tag: for-upstreaming-review-1~30 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=72fd6364a4d901d829b2fd6066bbed1ba26e1635 probe kvm x86: remove compatibility code --- diff --git a/probes/lttng-probe-kvm-x86.c b/probes/lttng-probe-kvm-x86.c index b7704076..2eb10ae7 100644 --- a/probes/lttng-probe-kvm-x86.c +++ b/probes/lttng-probe-kvm-x86.c @@ -10,18 +10,11 @@ #include #include #include -#include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) /* TODO: check for header availability in Makefile */ #include <../../arch/x86/kvm/kvm_emulate.h> -#endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) #include -#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