[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080716002246.GD12564@localhost.localdomain>
Date: Wed, 16 Jul 2008 02:22:46 +0200
From: Vegard Nossum <vegard.nossum@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>,
Pekka Enberg <penberg@...helsinki.fi>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
linux-kernel@...r.kernel.org
Subject: [PATCH 03/13] stacktrace: add forward-declaration struct
task_struct
>From 2c5f51b8bdaa509a71a479d6a11053c1db2cdd7b Mon Sep 17 00:00:00 2001
From: Vegard Nossum <vegard.nossum@...il.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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists