Re: [PATCH] rcu: RCU-based detection of stalled CPUs for ClassicRCU, fix

From: Paul E. McKenney
Date: Fri Oct 03 2008 - 11:14:44 EST


On Fri, Oct 03, 2008 at 10:42:33AM +0200, Ingo Molnar wrote:
>
> -tip testing found a minor build bug - find the fix below.
>
> Ingo
>
> -------------------->
> >From 2ec2b482b10a1ed3493c224f1893cddd3d33833b Mon Sep 17 00:00:00 2001
> From: Ingo Molnar <mingo@xxxxxxx>
> Date: Fri, 3 Oct 2008 10:41:00 +0200
> Subject: [PATCH] rcu: RCU-based detection of stalled CPUs for Classic RCU, fix
>
> 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@xxxxxxx>
> ---
> kernel/rcuclassic.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/rcuclassic.c b/kernel/rcuclassic.c
> index 0d07e6e..37f72e5 100644
> --- a/kernel/rcuclassic.c
> +++ b/kernel/rcuclassic.c
> @@ -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)
> {
> }

I should have learned by now to test with all relevant config parameter
combinations... My apologies for the hassle!!!

Thanx, Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/