]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
kmemtrace, rcu: don't include unnecessary headers, allow kmemtrace w/ tracepoints
authorEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Mon, 23 Mar 2009 13:12:21 +0000 (15:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 3 Apr 2009 10:23:05 +0000 (12:23 +0200)
Impact: cleanup

linux/percpu.h includes linux/slab.h, which generates circular inclusion
dependencies when trying to switch kmemtrace to use tracepoints instead
of markers.

This patch allows tracing within slab headers' inline functions.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Cc: paulmck@linux.vnet.ibm.com
LKML-Reference: <1237898630.25315.83.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/rcuclassic.h
include/linux/rcupdate.h
include/linux/rcupreempt.h
include/linux/rcutree.h

index 2d688b4461f791f5625a907d2dc5d66db81a95b2..bfd92e1e5d2c3ae6d8b8966acf1390e1776828d2 100644 (file)
@@ -36,7 +36,6 @@
 #include <linux/cache.h>
 #include <linux/spinlock.h>
 #include <linux/threads.h>
-#include <linux/percpu.h>
 #include <linux/cpumask.h>
 #include <linux/seqlock.h>
 
index 528343e6da51a7c19cda8797c55cd6640612cb58..15fbb3ca634ddd87214b883586d9f58ce450ead4 100644 (file)
@@ -36,7 +36,6 @@
 #include <linux/cache.h>
 #include <linux/spinlock.h>
 #include <linux/threads.h>
-#include <linux/percpu.h>
 #include <linux/cpumask.h>
 #include <linux/seqlock.h>
 #include <linux/lockdep.h>
index 3eb8fdd19445ee179b25bd571c1043bef0e81ae6..fce522782ffae2609ac4a5ce530e7d4c8a80353c 100644 (file)
@@ -36,7 +36,7 @@
 #include <linux/cache.h>
 #include <linux/spinlock.h>
 #include <linux/threads.h>
-#include <linux/percpu.h>
+#include <linux/smp.h>
 #include <linux/cpumask.h>
 #include <linux/seqlock.h>
 
index 5d6f425260bcb88e45bd45e2a869a6855ddf6a63..0cdda00f2b2ae46679bf0a7711a2ebdab9cdac88 100644 (file)
@@ -33,7 +33,6 @@
 #include <linux/cache.h>
 #include <linux/spinlock.h>
 #include <linux/threads.h>
-#include <linux/percpu.h>
 #include <linux/cpumask.h>
 #include <linux/seqlock.h>