]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Fix undeclared ENOSYS in include/linux/tracepoint.h
authorWu Zhangjin <wuzhangjin@gmail.com>
Mon, 21 Jun 2010 11:09:09 +0000 (19:09 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 21 Jun 2010 16:23:36 +0000 (12:23 -0400)
commitaac931809252610d8b5227f1824eb9f24d0c2613
treed0c8fdf2272966d5c5db97c7456bb2919afd78ff
parent24fb85be82b3799fc9904147b246770da2b04882
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>
include/linux/tracepoint.h