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" <rdunlap@xenotime.net>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Andrew Morton and committed by Linus Torvalds 897312bd f2fe1638

+2
+2
include/linux/stacktrace.h
··· 1 1 #ifndef __LINUX_STACKTRACE_H 2 2 #define __LINUX_STACKTRACE_H 3 3 4 + struct task_struct; 5 + 4 6 #ifdef CONFIG_STACKTRACE 5 7 struct stack_trace { 6 8 unsigned int nr_entries, max_entries;