diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2010-06-21 19:09:09 +0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-06-21 12:23:36 -0400 |
commit | b70e4f0529c089b00d0a6da13106db4de1ada4c7 (patch) | |
tree | d0c8fdf2272966d5c5db97c7456bb2919afd78ff /include/linux/tracepoint.h | |
parent | 5ffc88819c84098e3f39185a38f8f7f7f8b210df (diff) | |
download | kernel_samsung_smdk4412-b70e4f0529c089b00d0a6da13106db4de1ada4c7.tar.gz kernel_samsung_smdk4412-b70e4f0529c089b00d0a6da13106db4de1ada4c7.tar.bz2 kernel_samsung_smdk4412-b70e4f0529c089b00d0a6da13106db4de1ada4c7.zip |
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>
Diffstat (limited to 'include/linux/tracepoint.h')
-rw-r--r-- | include/linux/tracepoint.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index 9a59d1f98cd..103d1b61aac 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> |