]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
rcupreempt: remove duplicate prototypes
authorSteven Rostedt <srostedt@redhat.com>
Mon, 12 May 2008 19:21:05 +0000 (21:21 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 19 May 2008 08:01:35 +0000 (10:01 +0200)
commit8b09dee67f484e9b42114b1a1f068e080fd7aa56
tree899bbfffdc715d1986afbcd61ced8af67054cc25
parentb8291ad07a7f3b5b990900f0001198ac23ba893e
rcupreempt: remove duplicate prototypes

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: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/rcupdate.h
kernel/rcupreempt.c