Commit b618ad31bb2020db6a36929122e5554e33210d47

Authored by Vegard Nossum
1 parent acc6be5405

stacktrace: add forward-declaration struct task_struct

This is needed if the header is to be free-standing.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>

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

include/linux/stacktrace.h
... ... @@ -4,6 +4,8 @@
4 4 struct task_struct;
5 5  
6 6 #ifdef CONFIG_STACKTRACE
  7 +struct task_struct;
  8 +
7 9 struct stack_trace {
8 10 unsigned int nr_entries, max_entries;
9 11 unsigned long *entries;