fix: asm/barrier.h was introduced in v3.4
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 30 Nov 2020 19:26:23 +0000 (14:26 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 30 Nov 2020 19:56:49 +0000 (14:56 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I1aa81452fd4c08c151f0f87cfa1b24018ad4fc30

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.025853 seconds and 4 git commands to generate.