fix: sublevel version overflow in LINUX_VERSION_CODE
[lttng-modules.git] / Makefile.ABI.workarounds
index f84e4ed022d1403d86ef0aed1adc2980eb7cadcf..6a0a61fd1716c088acd8abab5e89ba4f152a003c 100644 (file)
@@ -1,3 +1,7 @@
+ccflags-y += -DLTTNG_LINUX_MAJOR=$(VERSION)
+ccflags-y += -DLTTNG_LINUX_MINOR=$(PATCHLEVEL)
+ccflags-y += -DLTTNG_LINUX_PATCH=$(SUBLEVEL)
+
 # Work-around for distro-specific public modules ABI breakages.
 # Some distributions break the public module instrumentation ABI
 # compared to upstream stable kernels without providing other mean than
This page took 0.0224 seconds and 4 git commands to generate.