All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-rt-devel:linux-5.4.y-rt-rebase 79/254] include/linux/seqlock.h:232:2: error: implicit declaration of function 'preempt_disable_rt'; did you mean 'preempt_disable'?
@ 2019-12-20 16:16 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-20 16:16 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.4.y-rt-rebase
head:   925cbfe727edeb05cff819ee6836524ce9fe8aff
commit: eedd46f3e578848f862940e44f54de1996b903d6 [79/254] seqlock: Prevent rt starvation
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
        git checkout eedd46f3e578848f862940e44f54de1996b903d6
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

Note: the linux-rt-devel/linux-5.4.y-rt-rebase HEAD 925cbfe727edeb05cff819ee6836524ce9fe8aff builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   In file included from include/linux/mmzone.h:16:0,
                    from include/linux/gfp.h:6,
                    from include/linux/slab.h:15,
                    from include/linux/crypto.h:19,
                    from arch/x86/kernel/asm-offsets.c:9:
   include/linux/seqlock.h: In function 'raw_write_seqcount_begin':
>> include/linux/seqlock.h:232:2: error: implicit declaration of function 'preempt_disable_rt'; did you mean 'preempt_disable'? [-Werror=implicit-function-declaration]
     preempt_disable_rt();
     ^~~~~~~~~~~~~~~~~~
     preempt_disable
   include/linux/seqlock.h: In function 'raw_write_seqcount_end':
>> include/linux/seqlock.h:245:2: error: implicit declaration of function 'preempt_enable_rt'; did you mean 'preempt_enable'? [-Werror=implicit-function-declaration]
     preempt_enable_rt();
     ^~~~~~~~~~~~~~~~~
     preempt_enable
   cc1: some warnings being treated as errors
   make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2
   19 real  7 user  8 sys  81.07% cpu 	make prepare

vim +232 include/linux/seqlock.h

   229	
   230	static inline void raw_write_seqcount_begin(seqcount_t *s)
   231	{
 > 232		preempt_disable_rt();
   233		__raw_write_seqcount_begin(s);
   234	}
   235	
   236	static inline void __raw_write_seqcount_end(seqcount_t *s)
   237	{
   238		smp_wmb();
   239		s->sequence++;
   240	}
   241	
   242	static inline void raw_write_seqcount_end(seqcount_t *s)
   243	{
   244		__raw_write_seqcount_end(s);
 > 245		preempt_enable_rt();
   246	}
   247	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

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

only message in thread, other threads:[~2019-12-20 16:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-20 16:16 [linux-rt-devel:linux-5.4.y-rt-rebase 79/254] include/linux/seqlock.h:232:2: error: implicit declaration of function 'preempt_disable_rt'; did you mean 'preempt_disable'? kbuild 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.