lkml.org 
[lkml]   [2013]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 21/27] nohz: Only stop the tick on RCU nocb CPUs
From
2013/1/2 Namhyung Kim <namhyung@kernel.org>:
> You may want to add the following also to shut up the gcc:
>
> CC kernel/rcutree.o
> In file included from /home/namhyung/project/linux/kernel/rcutree.c:58:0:
> /home/namhyung/project/linux/kernel/rcutree.h:539:13: warning: ‘is_nocb_cpu’ declared ‘static’ but never defined [-Wunused-function]
>
>
> Thanks,
> Namhyung
>
>
> diff --git a/kernel/rcutree.h b/kernel/rcutree.h
> index 4b69291b093d..fbbad931c36a 100644
> --- a/kernel/rcutree.h
> +++ b/kernel/rcutree.h
> @@ -536,7 +536,6 @@ static void print_cpu_stall_info(struct rcu_state *rsp, int cpu);
> static void print_cpu_stall_info_end(void);
> static void zero_cpu_stall_ticks(struct rcu_data *rdp);
> static void increment_cpu_stall_ticks(void);
> -static bool is_nocb_cpu(int cpu);
> static bool __call_rcu_nocb(struct rcu_data *rdp, struct rcu_head *rhp,
> bool lazy);
> static bool rcu_nocb_adopt_orphan_cbs(struct rcu_state *rsp,

I'm folding that fix for the next version.

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

\
 
 \ /
  Last update: 2013-01-04 14:41    [W:0.238 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site