fix: asm/barrier.h was introduced in v3.4
[lttng-modules.git] / include / wrapper / barrier.h
index c2f0545b4bc93ded40047c770ca99543cd8d2bc6..26330d39eebd80f9b7813731c27650c24cca1350 100644 (file)
 #define _LTTNG_WRAPPER_BARRIER_H
 
 #include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)
 #include <asm/barrier.h>
+#else
+#include <asm/system.h>
+#endif
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)
 
This page took 0.022931 seconds and 4 git commands to generate.