[tip:WIP.x86/pti 12/26] include/linux/sched/topology.h:41:9: error: implicit declaration of function 'static_branch_likely'
From: kbuild test robot
Date: Wed Nov 21 2018 - 15:08:02 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti
head: 1dbc1eb4f898d3df3b663ce1d938693554877fd6
commit: fa8d301b556b3b60a680feae724597decb8e8632 [12/26] sched/smt: Expose sched_smt_present static key
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 8.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout fa8d301b556b3b60a680feae724597decb8e8632
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=ia64
All errors (new ones prefixed by >>):
In file included from include/linux/cpuset.h:13,
from kernel/cgroup/cpuset.c:27:
include/linux/sched/topology.h: In function 'sched_smt_active':
>> include/linux/sched/topology.h:41:9: error: implicit declaration of function 'static_branch_likely' [-Werror=implicit-function-declaration]
return static_branch_likely(&sched_smt_present);
^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/static_branch_likely +41 include/linux/sched/topology.h
38
39 static __always_inline bool sched_smt_active(void)
40 {
> 41 return static_branch_likely(&sched_smt_present);
42 }
43
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip