From: Michael Jeanson Date: Tue, 9 Feb 2021 16:28:27 +0000 (-0500) Subject: fix: Add one digit to RHEL major release version X-Git-Tag: v2.13.0-rc1~46 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=aec7897f7dd400daedf54d294b39dda24d9a549f;p=lttng-modules.git fix: Add one digit to RHEL major release version Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: I4e8b10ee985db59f7795e026486b3d47b76b5728 --- diff --git a/include/lttng/kernel-version.h b/include/lttng/kernel-version.h index d3fce8e7..d292c087 100644 --- a/include/lttng/kernel-version.h +++ b/include/lttng/kernel-version.h @@ -109,11 +109,11 @@ /* RHEL */ #define LTTNG_RHEL_KERNEL_VERSION(a, b, c, d, e, f) \ - (((LTTNG_KERNEL_VERSION(a, b, c)) * 10000000ULL) + ((d) * 10000) + ((e) * 100) + (f)) + (((LTTNG_KERNEL_VERSION(a, b, c)) * 100000000ULL) + ((d) * 10000) + ((e) * 100) + (f)) #ifdef RHEL_API_VERSION #define LTTNG_RHEL_VERSION_CODE \ - ((LTTNG_LINUX_VERSION_CODE * 10000000ULL) + RHEL_API_VERSION) + ((LTTNG_LINUX_VERSION_CODE * 100000000ULL) + RHEL_API_VERSION) #else #define LTTNG_RHEL_VERSION_CODE 0 #endif