public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] tracing/fastboot: include missing headers
@ 2008-12-11 15:14 Frederic Weisbecker
  2008-12-12  9:01 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Frederic Weisbecker @ 2008-12-11 15:14 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Linux Kernel

For now include/trace/boot.h doesn't need to include necessary headers
for its functions and structures because the files that include it already
do it.

But boot.h could be needed as well for further uses on other files.
So, this patch adds the necessary headers for future purposes...

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
---
diff --git a/include/trace/boot.h b/include/trace/boot.h
index 3ec58b4..088ea08 100644
--- a/include/trace/boot.h
+++ b/include/trace/boot.h
@@ -1,6 +1,10 @@
 #ifndef _LINUX_TRACE_BOOT_H
 #define _LINUX_TRACE_BOOT_H
 
+#include <linux/module.h>
+#include <linux/kallsyms.h>
+#include <linux/init.h>
+
 /*
  * Structure which defines the trace of an initcall
  * while it is called.
-- 
1.6.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] tracing/fastboot: include missing headers
  2008-12-11 15:14 [PATCH 2/2] tracing/fastboot: include missing headers Frederic Weisbecker
@ 2008-12-12  9:01 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-12-12  9:01 UTC (permalink / raw)
  To: Frederic Weisbecker; +Cc: Linux Kernel


* Frederic Weisbecker <fweisbec@gmail.com> wrote:

> For now include/trace/boot.h doesn't need to include necessary headers
> for its functions and structures because the files that include it already
> do it.
> 
> But boot.h could be needed as well for further uses on other files.
> So, this patch adds the necessary headers for future purposes...
> 
> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>

applied to tip/tracing/fastboot, thanks!

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-12  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-11 15:14 [PATCH 2/2] tracing/fastboot: include missing headers Frederic Weisbecker
2008-12-12  9:01 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox