From: Mathieu Desnoyers Date: Thu, 14 May 2015 15:24:20 +0000 (-0400) Subject: Revert "Fix: build against Ubuntu kernels" X-Git-Tag: v2.7.0-rc1~19 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5440166a28573afc73108e3ae2a31c59164e8b8e;p=lttng-modules.git Revert "Fix: build against Ubuntu kernels" This reverts commit a748963b76f353d459a3faf85eecc96f52811eee. Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-kernel-version.h b/lttng-kernel-version.h index 8933c31e..59e19df5 100644 --- a/lttng-kernel-version.h +++ b/lttng-kernel-version.h @@ -61,7 +61,7 @@ #define LTTNG_DEBIAN_KERNEL_RANGE(a_low, b_low, c_low, d_low, e_low, f_low, \ a_high, b_high, c_high, d_high, e_high, f_high) \ - (defined(LTTNG_DEBIAN_VERSION_CODE) && \ + (defined(DEBIAN_API_VERSION) && \ LTTNG_DEBIAN_VERSION_CODE >= \ LTTNG_DEBIAN_KERNEL_VERSION(a_low, b_low, c_low, d_low, e_low, f_low) && \ LTTNG_DEBIAN_VERSION_CODE < \