Commit 897312bd240357c88ce906633703c324c6f0a5cd

Authored by Andrew Morton
Committed by Linus Torvalds
1 parent f2fe1638f6

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

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;