[rcu:rcu/dev 31/38] kernel/rcu/rcu_segcblist.h:77:2: error: implicit declaration of function 'prefetch'

From: kbuild test robot
Date: Fri Feb 10 2017 - 19:38:18 EST

tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev
head: 1f7c9e1bb76b7dc50e515bd6ce9b3a8526377d17
commit: 0e629d6798567fe31bcf7e16ba5c5affcad15059 [31/38] rcu: Abstract multi-tail callback list handling
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 0e629d6798567fe31bcf7e16ba5c5affcad15059
# save the attached .config to linux build tree
make.cross ARCH=parisc

All errors (new ones prefixed by >>):

In file included from kernel/rcu/tree.h:32:0,
from kernel/rcu/tree_trace.c:46:
kernel/rcu/rcu_segcblist.h: In function 'rcu_cblist_dequeue':
>> kernel/rcu/rcu_segcblist.h:77:2: error: implicit declaration of function 'prefetch' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

vim +/prefetch +77 kernel/rcu/rcu_segcblist.h

71 {
72 struct rcu_head *rhp;
74 rhp = rclp->head;
75 if (!rhp)
76 return NULL;
> 77 prefetch(rhp);
78 rclp->len--;
79 rclp->head = rhp->next;
80 if (!rclp->head)

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

Attachment: .config.gz
Description: application/gzip