Namespace kernel version macros
[lttng-modules.git] / wrapper / percpu-defs.h
index bba1bcea199907f1c17794f023cd60f099a8db7e..d7ed4abfe01fb2e2a9547161d54b02236ef1a842 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <linux/version.h>
+#include <lttng-kernel-version.h>
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0)
+#if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0)
 
 #include <linux/percpu-defs.h>
 
 #define lttng_this_cpu_ptr(ptr)                this_cpu_ptr(ptr)
 
-#else /* #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) */
+#else /* #if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0) */
 
 #include <linux/percpu.h>
 
 #define lttng_this_cpu_ptr(ptr)                (&__get_cpu_var(*(ptr)))
 
-#endif /* #else #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) */
+#endif /* #else #if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0) */
 
 #endif /* _LTTNG_WRAPPER_PERCPU_DEFS_H */
This page took 0.026609 seconds and 4 git commands to generate.