Port changes from lttng-kt
[ust.git] / include / ust / kernelcompat.h
index 5cc5eaa22e70b963795619b963c1c2f8ed9504da..da2326192928cd3d81e233a1f4120d2598e101fe 100644 (file)
@@ -82,12 +82,6 @@ static inline long IS_ERR(const void *ptr)
 
 #define GFP_KERNEL
 
-/* PRINTK */
-
-#include <stdio.h>
-#define printk(fmt, args...) printf(fmt, ## args)
-
-
 /* ATTRIBUTES */
 
 #define ____cacheline_aligned
@@ -203,4 +197,8 @@ static inline u32 trace_clock_freq_scale(void)
 }
 
 
+/* PERCPU */
+
+#define __get_cpu_var(x) x
+
 #endif /* KERNELCOMPAT_H */
This page took 0.022802 seconds and 4 git commands to generate.