Re: linux-next: build failure after merge of the rcu tree

Paul E. McKenney
2022-04-19T03:31:33Z

On Tue, Apr 19, 2022 at 12:36:24PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the rcu tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> In file included from kernel/rcu/tree.c:5031:
> kernel/rcu/tree_nocb.h: In function 'rcu_init_nohz':
> kernel/rcu/tree_nocb.h:1162:14: error: 'rcu_nocb_is_setup' undeclared (first use in this function); did you mean 'rcu_nocb_setup'?
> 1162 | if (!rcu_nocb_is_setup) {
> | ^~~~~~~~~~~~~~~~~
> | rcu_nocb_setup
> kernel/rcu/tree_nocb.h:1162:14: note: each undeclared identifier is reported only once for each function it appears in
>
> Caused by commit
>
> d6932dca19b1 ("rcu/nocb: Add an option to offload all CPUs on boot")
>
> interacting with commit
>
> 8d2aaa9b7c29 ("rcu/nocb: Move rcu_nocb_is_setup to rcu_state")
>
> I have used the rcu tree from next-20220414 for today.

Again, apologies!

I have dropped that commit from -rcu and am retesting, and will update
rcu/next accordingly.

Thanx, Paul