[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200904080505.n3855hcn017109@www262.sakura.ne.jp>
Date: Wed, 08 Apr 2009 14:05:43 +0900
From: Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>
To: srostedt@...hat.com
Cc: linux-kernel@...r.kernel.org
Subject: [2.6.30-rc1] Append a comma to INIT_FTRACE_GRAPH.
Due to lack of a comma, build fails if elements are appended to
INIT_TASK() macro.
arch/x86/kernel/init_task.c:33: error: request for member `XXXXXXXXXX' in something not a structure or union
arch/x86/kernel/init_task.c:33: error: initializer element is not constant
arch/x86/kernel/init_task.c:33: error: (near initialization for `init_task.ret_stack')
make[1]: *** [arch/x86/kernel/init_task.o] Error 1
make: *** [arch/x86/kernel] Error 2
Signed-off-by: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
---
include/linux/ftrace.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.30-rc1.orig/include/linux/ftrace.h
+++ linux-2.6.30-rc1/include/linux/ftrace.h
@@ -357,7 +357,7 @@ struct ftrace_graph_ret {
#ifdef CONFIG_FUNCTION_GRAPH_TRACER
/* for init task */
-#define INIT_FTRACE_GRAPH .ret_stack = NULL
+#define INIT_FTRACE_GRAPH .ret_stack = NULL,
/*
* Stack of return addresses for functions
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists