diff options
author | Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> | 2009-03-23 15:12:21 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-03 12:23:05 +0200 |
commit | ac44021fccd8f1f2b267b004f23a2e8d7ef05f7b (patch) | |
tree | 164d43e03bff92e66058a2bd2a57a3af9a4723c2 /include/linux/rcupreempt.h | |
parent | a979241c532f07c201fe94e0a632107268f02578 (diff) | |
download | linux-ac44021fccd8f1f2b267b004f23a2e8d7ef05f7b.tar.gz linux-ac44021fccd8f1f2b267b004f23a2e8d7ef05f7b.tar.bz2 linux-ac44021fccd8f1f2b267b004f23a2e8d7ef05f7b.zip |
kmemtrace, rcu: don't include unnecessary headers, allow kmemtrace w/ tracepoints
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>
Diffstat (limited to 'include/linux/rcupreempt.h')
-rw-r--r-- | include/linux/rcupreempt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rcupreempt.h b/include/linux/rcupreempt.h index 3eb8fdd19445..fce522782ffa 100644 --- a/include/linux/rcupreempt.h +++ b/include/linux/rcupreempt.h @@ -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> |