lkml.org 
[lkml]   [2017]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[tip:WIP.sched/core 125/126] arch/s390/appldata/appldata_base.c:572:19: error: 'nr_threads' undeclared here (not in a function)
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head: bf68e1ec5a1af0e494c2557ddc3de4d3eff52ce6
commit: d05e7f397bbc869fbd04ca88cd3097b1c13b69d7 [125/126] sched/headers: Move task statistics from <linux/sched.h> to <linux/sched/stat.h>
config: s390-default_defconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
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 d05e7f397bbc869fbd04ca88cd3097b1c13b69d7
# save the attached .config to linux build tree
make.cross ARCH=s390

All errors (new ones prefixed by >>):

In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from include/linux/list.h:8,
from include/linux/module.h:9,
from arch/s390/appldata/appldata_base.c:14:
>> arch/s390/appldata/appldata_base.c:572:19: error: 'nr_threads' undeclared here (not in a function)
EXPORT_SYMBOL_GPL(nr_threads);
^
include/linux/export.h:58:16: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
^~~
arch/s390/appldata/appldata_base.c:572:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(nr_threads);
^~~~~~~~~~~~~~~~~
>> arch/s390/appldata/appldata_base.c:573:19: error: 'nr_running' undeclared here (not in a function)
EXPORT_SYMBOL_GPL(nr_running);
^
include/linux/export.h:58:16: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
^~~
arch/s390/appldata/appldata_base.c:573:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(nr_running);
^~~~~~~~~~~~~~~~~
>> arch/s390/appldata/appldata_base.c:574:19: error: 'nr_iowait' undeclared here (not in a function)
EXPORT_SYMBOL_GPL(nr_iowait);
^
include/linux/export.h:58:16: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
^~~
arch/s390/appldata/appldata_base.c:574:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(nr_iowait);
^~~~~~~~~~~~~~~~~

vim +/nr_threads +572 arch/s390/appldata/appldata_base.c

^1da177e4 Linus Torvalds 2005-04-16 566 EXPORT_SYMBOL_GPL(appldata_unregister_ops);
5b5dd21a8 Gerald Schaefer 2006-06-29 567 EXPORT_SYMBOL_GPL(appldata_diag);
^1da177e4 Linus Torvalds 2005-04-16 568
0c3252d58 Gerald Schaefer 2008-07-14 569 #ifdef CONFIG_SWAP
^1da177e4 Linus Torvalds 2005-04-16 570 EXPORT_SYMBOL_GPL(si_swapinfo);
0c3252d58 Gerald Schaefer 2008-07-14 571 #endif
^1da177e4 Linus Torvalds 2005-04-16 @572 EXPORT_SYMBOL_GPL(nr_threads);
^1da177e4 Linus Torvalds 2005-04-16 @573 EXPORT_SYMBOL_GPL(nr_running);
^1da177e4 Linus Torvalds 2005-04-16 @574 EXPORT_SYMBOL_GPL(nr_iowait);

:::::: The code at line 572 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-02-03 13:27    [W:0.023 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site