Skip to content

Commit

Permalink
tracing: Fix undeclared ENOSYS in include/linux/tracepoint.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wu Zhangjin authored and Steven Rostedt committed Jun 21, 2010
1 parent 5ffc888 commit b70e4f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/tracepoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* See the file COPYING for more details.
*/

#include <linux/errno.h>
#include <linux/types.h>
#include <linux/rcupdate.h>

Expand Down

0 comments on commit b70e4f0

Please sign in to comment.