Re: [rcu:dev.2017.03.16a 53/58] include/linux/srcu.h:62:28: fatal error: linux/srcutree.h: No such file or directory
From: Paul E. McKenney
Date: Sun Mar 26 2017 - 00:46:06 EST
On Sun, Mar 26, 2017 at 11:31:27AM +0800, kbuild test robot wrote:
> Hi Paul,
>
> FYI, the error/warning still remains.
Yeah, idiot here forgot "git add"... So it was working fine in my
local tree, but for everyone else, not so much. :-/
Mostly fixed, still at least one bug left.
Thank you again for your testing service, very helpful!!!
Thanx, Paul
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2017.03.16a
> head: 5c1e4049e03942b1a6ec13fa8dc0d9f4b2ba0463
> commit: c574d9a57769f1941153c41e5cfcd2bb13911cc3 [53/58] srcu: Create a tiny SRCU
> config: x86_64-lkp (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