linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [linux-rt-devel:linux-5.13.y-rt-testing 207/227] include/linux/entry-common.h:62:3: error: '_TIF_NEED_RESCHED_MASK' undeclared; did you mean 'TIF_NEED_RESCHED'?
@ 2021-07-12 18:53 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-12 18:53 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 3787 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.13.y-rt-testing
head:   cdfc6ae55ef52147859af8c8a9f82c4858eed749
commit: f2f9e496208c584356e84e720a3dfd99970ee5e9 [207/227] x86: Support for lazy preemption
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=f2f9e496208c584356e84e720a3dfd99970ee5e9
        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.13.y-rt-testing
        git checkout f2f9e496208c584356e84e720a3dfd99970ee5e9
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash kernel/

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:158:19: note: in expansion of macro 'EXIT_TO_USER_MODE_WORK'
     158 |  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:158:19: note: in expansion of macro 'EXIT_TO_USER_MODE_WORK'
     158 |  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:216:25: note: in expansion of macro 'EXIT_TO_USER_MODE_WORK'
     216 |  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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 66576 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-12 18:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12 18:53 [linux-rt-devel:linux-5.13.y-rt-testing 207/227] include/linux/entry-common.h:62:3: error: '_TIF_NEED_RESCHED_MASK' undeclared; did you mean 'TIF_NEED_RESCHED'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).