rcu: RCU-based detection of stalled CPUs for Classic RCU, fix
authorIngo Molnar <mingo@elte.hu>
Fri, 3 Oct 2008 08:41:00 +0000 (10:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 3 Oct 2008 08:41:00 +0000 (10:41 +0200)
fix the !CONFIG_RCU_CPU_STALL_DETECTOR path:

 kernel/rcuclassic.c: In function '__rcu_pending':
 kernel/rcuclassic.c:609: error: too few arguments to function 'check_cpu_stall'

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/rcuclassic.c

index 0d07e6e..37f72e5 100644 (file)
@@ -239,7 +239,7 @@ static void record_gp_stall_check_time(struct rcu_ctrlblk *rcp)
 {
 }
 
-static void check_cpu_stall(struct rcu_ctrlblk *rcp, struct rcu_data *rdp)
+static inline void check_cpu_stall(struct rcu_ctrlblk *rcp)
 {
 }