2013/1/2 Namhyung Kim <namhy...@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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/