[PATCH 2/3] tracepoints: Include only minimal RCU headers in linux/tracepoint.h.

From: Eduard - Gabriel Munteanu
Date: Sun Dec 28 2008 - 20:41:07 EST


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@xxxxxxxxxxx>
---
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

--
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/