lkml.org 
[lkml]   [2008]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/3] tracepoints: Include only minimal RCU headers in linux/tracepoint.h.
Date
This allows kmemtrace to work nicely with tracepoints, since RCU headers
don't end up anymore including SLAB headers. It might also speed up
compilation because there's less preprocessing involved.

Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
---
include/linux/tracepoint.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index c5bb39c..86b0e8a 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -15,7 +15,7 @@
*/

#include <linux/types.h>
-#include <linux/rcupdate.h>
+#include <linux/rcupdate_min.h>

struct module;
struct tracepoint;
--
1.6.0.6


\
 
 \ /
  Last update: 2008-12-29 02:43    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site