Messages in this thread | | | Date | Mon, 24 Apr 2017 03:00:38 +0800 | From | kbuild test robot <> | Subject | [rcu:rcu/urgent 11/11] include/linux/srcu.h:66:2: error: #error "Unknown SRCU implementation specified to kernel configuration" |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/urgent head: 746ec1f689abc74dca72fdce4134decdbfaec295 commit: 746ec1f689abc74dca72fdce4134decdbfaec295 [11/11] srcu: Fix Kconfig botch when SRCU not selected config: sparc64-allnoconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 746ec1f689abc74dca72fdce4134decdbfaec295 # save the attached .config to linux build tree make.cross ARCH=sparc64
All errors (new ones prefixed by >>):
In file included from include/linux/notifier.h:15:0, from include/linux/pm_qos.h:8, from kernel/power/qos.c:32: >> include/linux/srcu.h:66:2: error: #error "Unknown SRCU implementation specified to kernel configuration" #error "Unknown SRCU implementation specified to kernel configuration" ^~~~~ In file included from include/linux/pm_qos.h:8:0, from kernel/power/qos.c:32: >> include/linux/notifier.h:77:21: error: field 'srcu' has incomplete type struct srcu_struct srcu; ^~~~
vim +66 include/linux/srcu.h
632ee2001 Paul E. McKenney 2010-02-22 50 55c6659af Lai Jiangshan 2012-10-13 51 #define __SRCU_DEP_MAP_INIT(srcu_name) .dep_map = { .name = #srcu_name }, 632ee2001 Paul E. McKenney 2010-02-22 52 #else /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ 632ee2001 Paul E. McKenney 2010-02-22 53 e6a92013b Alan Stern 2006-10-04 54 int init_srcu_struct(struct srcu_struct *sp); 632ee2001 Paul E. McKenney 2010-02-22 55 55c6659af Lai Jiangshan 2012-10-13 56 #define __SRCU_DEP_MAP_INIT(srcu_name) 632ee2001 Paul E. McKenney 2010-02-22 57 #endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */ 632ee2001 Paul E. McKenney 2010-02-22 58 d8be81735 Paul E. McKenney 2017-03-25 59 #ifdef CONFIG_TINY_SRCU d8be81735 Paul E. McKenney 2017-03-25 60 #include <linux/srcutiny.h> d8be81735 Paul E. McKenney 2017-03-25 61 #elif defined(CONFIG_TREE_SRCU) d8be81735 Paul E. McKenney 2017-03-25 62 #include <linux/srcutree.h> dad81a202 Paul E. McKenney 2017-03-25 63 #elif defined(CONFIG_CLASSIC_SRCU) dad81a202 Paul E. McKenney 2017-03-25 64 #include <linux/srcuclassic.h> d8be81735 Paul E. McKenney 2017-03-25 65 #else d8be81735 Paul E. McKenney 2017-03-25 @66 #error "Unknown SRCU implementation specified to kernel configuration" d8be81735 Paul E. McKenney 2017-03-25 67 #endif 55c6659af Lai Jiangshan 2012-10-13 68 931ea9d1a Lai Jiangshan 2012-03-19 69 /** 931ea9d1a Lai Jiangshan 2012-03-19 70 * call_srcu() - Queue a callback for invocation after an SRCU grace period 931ea9d1a Lai Jiangshan 2012-03-19 71 * @sp: srcu_struct in queue the callback 931ea9d1a Lai Jiangshan 2012-03-19 72 * @head: structure to be used for queueing the SRCU callback. 931ea9d1a Lai Jiangshan 2012-03-19 73 * @func: function to be invoked after the SRCU grace period 931ea9d1a Lai Jiangshan 2012-03-19 74 *
:::::: The code at line 66 was first introduced by commit :::::: d8be81735aa89413b333de488251f0e64e2be591 srcu: Create a tiny SRCU
:::::: TO: Paul E. McKenney <paulmck@linux.vnet.ibm.com> :::::: CC: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/gzip] | |