[rcu:dev 117/117] include/linux/rcutiny.h:99:2: error: implicit declaration of function 'rcu_sched_qs'; did you mean 'rcu_tasks_qs'?

From: kbuild test robot
Date: Mon Jul 02 2018 - 20:52:30 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev
head: 673d4e1483611783d502fe63317483b294f1bba0
commit: 673d4e1483611783d502fe63317483b294f1bba0 [117/117] rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds
config: i386-randconfig-x079-201826 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
git checkout 673d4e1483611783d502fe63317483b294f1bba0
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

In file included from include/linux/rcupdate.h:206:0,
from include/linux/srcu.h:33,
from include/linux/notifier.h:16,
from include/linux/memory_hotplug.h:7,
from include/linux/mmzone.h:777,
from include/linux/gfp.h:6,
from include/linux/slab.h:15,
from include/linux/crypto.h:24,
from arch/x86/kernel/asm-offsets.c:9:
include/linux/rcutiny.h: In function 'rcu_softirq_qs':
>> include/linux/rcutiny.h:99:2: error: implicit declaration of function 'rcu_sched_qs'; did you mean 'rcu_tasks_qs'? [-Werror=implicit-function-declaration]
rcu_sched_qs();
^~~~~~~~~~~~
rcu_tasks_qs
cc1: some warnings being treated as errors
make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2

vim +99 include/linux/rcutiny.h

486e2593 Paul E. McKenney 2012-01-06 96
d8f2ea55 Paul E. McKenney 2018-06-28 97 static inline void rcu_softirq_qs(void)
d8f2ea55 Paul E. McKenney 2018-06-28 98 {
d8f2ea55 Paul E. McKenney 2018-06-28 @99 rcu_sched_qs();
d8f2ea55 Paul E. McKenney 2018-06-28 100 }
d8f2ea55 Paul E. McKenney 2018-06-28 101

:::::: The code at line 99 was first introduced by commit
:::::: d8f2ea55020ce51d8ab414b900dfb27a7fe5b71d rcu: Apply RCU-bh QSes to RCU-sched and RCU-preempt when safe

:::::: TO: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
:::::: CC: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip