From: Avi Kivity <[email protected]>

Signed-off-by: Avi Kivity <[email protected]>

diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h
index c0ae66c..8270418 100644
--- a/external-module-compat-comm.h
+++ b/external-module-compat-comm.h
@@ -887,3 +887,14 @@ struct tracepoint;
 #define tracepoint_synchronize_unregister() do {} while (0)
 
 #endif
+
+#include <linux/ftrace_event.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
+
+struct trace_print_flags {
+       unsigned long           mask;
+       const char              *name;
+};
+
+#endif
diff --git a/include-compat/linux/ftrace_event.h 
b/include-compat/linux/ftrace_event.h
new file mode 100644
index 0000000..c89c4c9
--- /dev/null
+++ b/include-compat/linux/ftrace_event.h
@@ -0,0 +1 @@
+/* dummy file for #include compatibility */
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to