lkml.org 
[lkml]   [2010]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] tracing: Fix undelared ENOSYS in include/linux/tracepoint.h
From
Date
On Mon, 2010-06-21 at 19:09 +0800, Wu Zhangjin wrote:
> From: Wu Zhangjin <wuzhangjin@gmail.com>
>
> 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.
>

Hi Wu,

I have not hit this. Did you hit this with mips? Does it need to get
into 2.6.35 or can it wait till 2.6.36?

-- Steve

> Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
> ---
> 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 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>
>




\
 
 \ /
  Last update: 2010-06-21 16:31    [W:0.985 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site