* [PATCH][GIT PULL][v2.6.35] tracing: Fix undeclared ENOSYS in include/linux/tracepoint.h
@ 2010-06-23 13:04 Steven Rostedt
2010-06-23 15:02 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2010-06-23 13:04 UTC (permalink / raw)
To: LKML; +Cc: Ingo Molnar, Frederic Weisbecker, Mathieu Desnoyers, Wu Zhangjin
Ingo,
Please pull the latest tip/perf/urgent tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
tip/perf/urgent
Wu Zhangjin (1):
tracing: Fix undeclared ENOSYS in include/linux/tracepoint.h
----
include/linux/tracepoint.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---------------------------
commit b70e4f0529c089b00d0a6da13106db4de1ada4c7
Author: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Mon Jun 21 19:09:09 2010 +0800
tracing: Fix undeclared ENOSYS in include/linux/tracepoint.h
The header file include/linux/tracepoint.h may be included without
include/linux/errno.h and then the compiler will fail on building for
undelcared ENOSYS. This patch fixes this problem via including <linux/errno.h>
to include/linux/tracepoint.h.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
LKML-Reference: <1277118549-622-1-git-send-email-wuzhangjin@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index 9a59d1f..103d1b6 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -14,6 +14,7 @@
* See the file COPYING for more details.
*/
+#include <linux/errno.h>
#include <linux/types.h>
#include <linux/rcupdate.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-23 15:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-23 13:04 [PATCH][GIT PULL][v2.6.35] tracing: Fix undeclared ENOSYS in include/linux/tracepoint.h Steven Rostedt
2010-06-23 15:02 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®