* [linux-rt-devel:linux-5.12.y-rt-rebase 167/193] include/linux/entry-common.h:62:3: error: '_TIF_NEED_RESCHED_MASK' undeclared; did you mean
@ 2021-03-20 8:22 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-20 8:22 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3920 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.12.y-rt-rebase
head: 2664a7f5d3d24da4b2657a1e933181d376b77616
commit: 1d67c63f5b55a18dc1533ba3de91f83fc47effb6 [167/193] x86: Support for lazy preemption
config: s390-randconfig-s031-20210318 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-277-gc089cd2d-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=1d67c63f5b55a18dc1533ba3de91f83fc47effb6
git remote add linux-rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
git fetch --no-tags linux-rt-devel linux-5.12.y-rt-rebase
git checkout 1d67c63f5b55a18dc1533ba3de91f83fc47effb6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from kernel/entry/common.c:4:
kernel/entry/common.c: In function 'exit_to_user_mode_loop':
>> include/linux/entry-common.h:62:3: error: '_TIF_NEED_RESCHED_MASK' undeclared (first use in this function); did you mean 'TIF_NEED_RESCHED'?
62 | _TIF_NEED_RESCHED_MASK | _TIF_PATCH_PENDING | _TIF_NOTIFY_SIGNAL | \
| ^~~~~~~~~~~~~~~~~~~~~~
kernel/entry/common.c:157:19: note: in expansion of macro 'EXIT_TO_USER_MODE_WORK'
157 | while (ti_work & EXIT_TO_USER_MODE_WORK) {
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/entry-common.h:62:3: note: each undeclared identifier is reported only once for each function it appears in
62 | _TIF_NEED_RESCHED_MASK | _TIF_PATCH_PENDING | _TIF_NOTIFY_SIGNAL | \
| ^~~~~~~~~~~~~~~~~~~~~~
kernel/entry/common.c:157:19: note: in expansion of macro 'EXIT_TO_USER_MODE_WORK'
157 | while (ti_work & EXIT_TO_USER_MODE_WORK) {
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/build_bug.h:5,
from include/linux/bits.h:22,
from arch/s390/include/asm/ptrace.h:10,
from arch/s390/include/asm/lowcore.h:13,
from arch/s390/include/asm/current.h:13,
from include/linux/sched.h:12,
from include/linux/context_tracking.h:5,
from kernel/entry/common.c:3:
kernel/entry/common.c: In function 'exit_to_user_mode_prepare':
>> include/linux/entry-common.h:62:3: error: '_TIF_NEED_RESCHED_MASK' undeclared (first use in this function); did you mean 'TIF_NEED_RESCHED'?
62 | _TIF_NEED_RESCHED_MASK | _TIF_PATCH_PENDING | _TIF_NOTIFY_SIGNAL | \
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
kernel/entry/common.c:215:25: note: in expansion of macro 'EXIT_TO_USER_MODE_WORK'
215 | if (unlikely(ti_work & EXIT_TO_USER_MODE_WORK))
| ^~~~~~~~~~~~~~~~~~~~~~
vim +62 include/linux/entry-common.h
59
60 #define EXIT_TO_USER_MODE_WORK \
61 (_TIF_SIGPENDING | _TIF_NOTIFY_RESUME | _TIF_UPROBE | \
> 62 _TIF_NEED_RESCHED_MASK | _TIF_PATCH_PENDING | _TIF_NOTIFY_SIGNAL | \
63 ARCH_EXIT_TO_USER_MODE_WORK)
64
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 29085 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-20 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-20 8:22 [linux-rt-devel:linux-5.12.y-rt-rebase 167/193] include/linux/entry-common.h:62:3: error: '_TIF_NEED_RESCHED_MASK' undeclared; did you mean kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.