Fix: is_compat_task !CONFIG_COMPAT compile error on kernels >= 3.3
[lttng-modules.git] / lttng-syscalls.c
index ebf32f8ed3274ad7ce90ec14e59a64df23ca390d..37feffbe43c1a90319c2ed2cef161b4e6f5ade74 100644 (file)
 #include "lttng-events.h"
 
 #ifndef CONFIG_COMPAT
-static inline int is_compat_task(void)
-{
-       return 0;
-}
+# ifndef is_compat_task
+#  define is_compat_task()     (0)
+# endif
 #endif
 
 static
This page took 0.022865 seconds and 4 git commands to generate.