• Steven Rostedt's avatar
    rcupreempt: remove duplicate prototypes · 8b09dee6
    Steven Rostedt authored
    rcu_batches_completed and rcu_patches_completed_bh are both declared
    in rcuclassic.h and rcupreempt.h. This patch removes the extra
    prototypes for them from rcupdate.h.
    
    rcu_batches_completed_bh is defined as a static inline in the rcupreempt.h
    header file. Trying to export this as EXPORT_SYMBOL_GPL causes linking problems
    with the powerpc linker. There's no need to export a static inlined function.
    
    Modules must be compiled with the same type of RCU implementation as the
    kernel they are for.
    Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    8b09dee6
rcupreempt.c 31.7 KB