From: Andrew Morton Date: Fri, 3 Oct 2008 22:23:41 +0000 (-0700) Subject: include/linux/stacktrace.h: declare struct task_struct X-Git-Tag: v2.6.27-rc9~20 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=897312bd240357c88ce906633703c324c6f0a5cd;p=linux-2.6-omap-h63xx.git include/linux/stacktrace.h: declare struct task_struct include/linux/stacktrace.h:13: warning: 'struct task_struct' declared inside parameter list (This might be a hard error on sparc64, which uses this header and has -Werror) Reported-by: "Randy.Dunlap" Acked-by: Ingo Molnar Cc: Peter Zijlstra Cc: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h index 5da9794b2d7..b106fd8e0d5 100644 --- a/include/linux/stacktrace.h +++ b/include/linux/stacktrace.h @@ -1,6 +1,8 @@ #ifndef __LINUX_STACKTRACE_H #define __LINUX_STACKTRACE_H +struct task_struct; + #ifdef CONFIG_STACKTRACE struct stack_trace { unsigned int nr_entries, max_entries;