lkml.org 
[lkml]   [2008]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/2] RCU: Don't include unnecessary headers, allow kmemtrace w/ tracepoints.
    Date
    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: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
    ---
    include/linux/rcuclassic.h | 1 -
    include/linux/rcupdate.h | 1 -
    include/linux/rcupreempt.h | 2 +-
    3 files changed, 1 insertions(+), 3 deletions(-)

    diff --git a/include/linux/rcuclassic.h b/include/linux/rcuclassic.h
    index 5f89b62..b33004a 100644
    --- a/include/linux/rcuclassic.h
    +++ b/include/linux/rcuclassic.h
    @@ -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>

    diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
    index 86f1f5e..8f1c892 100644
    --- a/include/linux/rcupdate.h
    +++ b/include/linux/rcupdate.h
    @@ -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>
    diff --git a/include/linux/rcupreempt.h b/include/linux/rcupreempt.h
    index 3e05c09..3429415 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>

    --
    1.6.0.6


    \
     
     \ /
      Last update: 2008-12-30 08:45    [W:0.024 / U:29.556 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site