* [linux-rt-devel:linux-5.4.y-rt-rebase 77/251] include/linux/seqlock.h:232:2: error: implicit declaration of function 'preempt_disable_rt'; did you mean 'preempt_disable'?
@ 2020-01-11 9:29 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-11 9:29 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: 3fffbbb21b4d65c17794650071e01e5fb6f81bf0
commit: a9e48d1b8a79b45293b034b800e042f58bd99be2 [77/251] seqlock: Prevent rt starvation
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
git checkout a9e48d1b8a79b45293b034b800e042f58bd99be2
# 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 3fffbbb21b4d65c17794650071e01e5fb6f81bf0 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 6 user 5 sys 62.96% 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: 7158 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-11 9:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-11 9:29 [linux-rt-devel:linux-5.4.y-rt-rebase 77/251] 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.