* [PATCH 03/13] stacktrace: add forward-declaration struct task_struct
@ 2008-07-16 0:22 Vegard Nossum
0 siblings, 0 replies; only message in thread
From: Vegard Nossum @ 2008-07-16 0:22 UTC (permalink / raw)
To: Andrew Morton, Ingo Molnar, Pekka Enberg, Peter Zijlstra,
linux-kernel
>From 2c5f51b8bdaa509a71a479d6a11053c1db2cdd7b Mon Sep 17 00:00:00 2001
From: Vegard Nossum <vegard.nossum@gmail.com>
Date: Fri, 13 Jun 2008 15:31:11 +0200
Subject: [PATCH 03/13] 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>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-16 0:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 0:22 [PATCH 03/13] stacktrace: add forward-declaration struct task_struct Vegard Nossum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox