[PATCH 03/13] stacktrace: add forward-declaration struct task_struct
From: Vegard Nossum
Date: Fri Jun 13 2008 - 09:31:11 EST
This is needed if the header is to be free-standing.
Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxx>
---
include/linux/stacktrace.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h
index 2a3cbe8..519ad2d 100644
--- a/include/linux/stacktrace.h
+++ b/include/linux/stacktrace.h
@@ -2,6 +2,8 @@
#define __LINUX_STACKTRACE_H
#ifdef CONFIG_STACKTRACE
+struct task_struct;
+
struct stack_trace {
unsigned int nr_entries, max_entries;
unsigned long *entries;
--
1.5.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/