kmemtrace, rcu: fix linux/rcutree.h and linux/rcuclassic.h dependencies
authorIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 02:20:49 +0000 (03:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 3 Apr 2009 10:23:02 +0000 (12:23 +0200)
commitb1f77b0581b8fd837acb4a973f7d5496cae6efee
tree4faa2e4285c31dd70d1d20b4172d1eed55ba7330
parent255d11bc910fd38153156a0c5ebb256657290882
kmemtrace, rcu: fix linux/rcutree.h and linux/rcuclassic.h dependencies

Impact: build fix for all non-x86 architectures

We want to remove percpu.h from rcuclassic.h/rcutree.h (for upcoming
kmemtrace changes) but that would break the DECLARE_PER_CPU based
declarations in these files.

Move the quiescent counter management functions to their respective
RCU implementation .c files - they were slightly above the inlining
limit anyway.

Cc: 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/rcutree.h
kernel/rcuclassic.c
kernel/rcutree.c