Skip to content

Commit

Permalink
stacktrace: add forward-declaration struct task_struct
Browse files Browse the repository at this point in the history
This is needed if the header is to be free-standing.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
  • Loading branch information
Vegard Nossum committed Jun 12, 2009
1 parent acc6be5 commit b618ad3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/stacktrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
struct task_struct;

#ifdef CONFIG_STACKTRACE
struct task_struct;

struct stack_trace {
unsigned int nr_entries, max_entries;
unsigned long *entries;
Expand Down

0 comments on commit b618ad3

Please sign in to comment.