[rcu:rcu/next 53/55] include/linux/srcu.h:62:28: fatal error: linux/srcutree.h: No such file or directory

From: kbuild test robot
Date: Sat Mar 25 2017 - 15:40:27 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
head: 8ef41abc6267ab874db4f767866cc09b85a1f951
commit: c574d9a57769f1941153c41e5cfcd2bb13911cc3 [53/55] srcu: Create a tiny SRCU
config: x86_64-rhel (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout c574d9a57769f1941153c41e5cfcd2bb13911cc3
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

In file included from include/linux/notifier.h:15:0,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:749,
from include/linux/gfp.h:5,
from include/linux/slab.h:14,
from include/linux/crypto.h:24,
from arch/x86/kernel/asm-offsets.c:8:
>> include/linux/srcu.h:62:28: fatal error: linux/srcutree.h: No such file or directory
#include <linux/srcutree.h>
^
compilation terminated.
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 +62 include/linux/srcu.h

56 #define __SRCU_DEP_MAP_INIT(srcu_name)
57 #endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */
58
59 #ifdef CONFIG_TINY_SRCU
60 #include <linux/srcutiny.h>
61 #elif defined(CONFIG_TREE_SRCU)
> 62 #include <linux/srcutree.h>
63 #else
64 #error "Unknown SRCU implementation specified to kernel configuration"
65 #endif

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

Attachment: .config.gz
Description: application/gzip