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>
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
struct task_struct;
|
struct task_struct;
|
||||||
|
|
||||||
#ifdef CONFIG_STACKTRACE
|
#ifdef CONFIG_STACKTRACE
|
||||||
|
struct task_struct;
|
||||||
|
|
||||||
struct stack_trace {
|
struct stack_trace {
|
||||||
unsigned int nr_entries, max_entries;
|
unsigned int nr_entries, max_entries;
|
||||||
unsigned long *entries;
|
unsigned long *entries;
|
||||||
|
Reference in New Issue
Block a user