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

From: Stephen Rothwell <[email-masked]>
Date: Tue, 19 Apr 2022 12:36:24 +1000

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.

-- 
Cheers,
Stephen Rothwell