From: Pavel Roskin Date: Tue, 6 Apr 2010 22:41:15 +0000 (-0400) Subject: compat: add stub headers linux/tracepoint.h and trace/define_trace.h X-Git-Tag: compat-linux-2.6.34.y~11 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=2d4e4f2df516b020d91bc39e15551b9eddf45c62;p=~tnikolova%2Fcompat%2F.git compat: add stub headers linux/tracepoint.h and trace/define_trace.h This should make 13-trace.patch in compat-wireless unnecessary. Signed-off-by: Pavel Roskin --- diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h new file mode 100644 index 0000000..7484716 --- /dev/null +++ b/include/linux/tracepoint.h @@ -0,0 +1,8 @@ +#ifndef _COMPAT_LINUX_TRACEPOINT_H +#define _COMPAT_LINUX_TRACEPOINT_H 1 + +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27)) +#include_next +#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27)) */ + +#endif /* _COMPAT_LINUX_TRACEPOINT_H */ diff --git a/include/trace/define_trace.h b/include/trace/define_trace.h new file mode 100644 index 0000000..f5c01de --- /dev/null +++ b/include/trace/define_trace.h @@ -0,0 +1,8 @@ +#ifndef _COMPAT_TRACE_DEFINE_TRACE_H +#define _COMPAT_TRACE_DEFINE_TRACE_H 1 + +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) +#include_next +#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) */ + +#endif /* _COMPAT_TRACE_DEFINE_TRACE_H */