[rcu:tglx.2020.05.05a 48/140] arch/um/include/asm/irqflags.h:5: Error: no such instruction: `extern int get_signals(void)'
From: kbuild test robot
Date: Tue May 05 2020 - 22:03:09 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tglx.2020.05.05a
head: e6d36eed49b863bbe393e3c07cae737cd9c475e3
commit: 1af1a839cb2f00c8d7533102ece276ac315ecef2 [48/140] x86/entry/64: Check IF in __preempt_enable_notrace() thunk
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 1af1a839cb2f00c8d7533102ece276ac315ecef2
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
arch/um/include/asm/irqflags.h: Assembler messages:
>> arch/um/include/asm/irqflags.h:5: Error: no such instruction: `extern int get_signals(void)'
>> arch/um/include/asm/irqflags.h:6: Error: no such instruction: `extern int set_signals(int enable)'
>> arch/um/include/asm/irqflags.h:7: Error: no such instruction: `extern void block_signals(void)'
>> arch/um/include/asm/irqflags.h:8: Error: no such instruction: `extern void unblock_signals(void)'
>> arch/um/include/asm/irqflags.h:11: Error: no such instruction: `static inline unsigned long arch_local_save_flags(void)'
>> arch/um/include/asm/irqflags.h:12: Error: no such instruction: `{'
>> arch/um/include/asm/irqflags.h:13: Error: no such instruction: `return get_signals()'
>> arch/um/include/asm/irqflags.h:14: Error: junk at end of line, first unrecognized character is `}'
>> arch/um/include/asm/irqflags.h:17: Error: no such instruction: `static inline void arch_local_irq_restore(unsigned long flags)'
arch/um/include/asm/irqflags.h:18: Error: no such instruction: `{'
>> arch/um/include/asm/irqflags.h:19: Error: invalid character '(' in mnemonic
arch/um/include/asm/irqflags.h:20: Error: junk at end of line, first unrecognized character is `}'
>> arch/um/include/asm/irqflags.h:23: Error: no such instruction: `static inline void arch_local_irq_enable(void)'
arch/um/include/asm/irqflags.h:24: Error: no such instruction: `{'
arch/um/include/asm/irqflags.h:25: Error: invalid character '(' in mnemonic
arch/um/include/asm/irqflags.h:26: Error: junk at end of line, first unrecognized character is `}'
>> arch/um/include/asm/irqflags.h:29: Error: no such instruction: `static inline void arch_local_irq_disable(void)'
arch/um/include/asm/irqflags.h:30: Error: no such instruction: `{'
arch/um/include/asm/irqflags.h:31: Error: invalid character '(' in mnemonic
arch/um/include/asm/irqflags.h:32: Error: junk at end of line, first unrecognized character is `}'
>> include/asm-generic/irqflags.h:26: Error: no such instruction: `static inline unsigned long arch_local_irq_save(void)'
>> include/asm-generic/irqflags.h:27: Error: no such instruction: `{'
>> include/asm-generic/irqflags.h:28: Error: no such instruction: `unsigned long flags'
>> include/asm-generic/irqflags.h:29: Error: junk at end of line, first unrecognized character is `('
>> include/asm-generic/irqflags.h:30: Error: no such instruction: `arch_local_irq_restore(0)'
>> include/asm-generic/irqflags.h:31: Error: no such instruction: `return flags'
>> include/asm-generic/irqflags.h:32: Error: junk at end of line, first unrecognized character is `}'
>> include/asm-generic/irqflags.h:37: Error: no such instruction: `static inline int arch_irqs_disabled_flags(unsigned long flags)'
include/asm-generic/irqflags.h:38: Error: no such instruction: `{'
include/asm-generic/irqflags.h:39: Error: no such instruction: `return flags==0'
include/asm-generic/irqflags.h:40: Error: junk at end of line, first unrecognized character is `}'
include/asm-generic/irqflags.h:61: Error: no such instruction: `static inline int arch_irqs_disabled(void)'
include/asm-generic/irqflags.h:62: Error: no such instruction: `{'
include/asm-generic/irqflags.h:63: Error: no such instruction: `return arch_irqs_disabled_flags(arch_local_save_flags())'
include/asm-generic/irqflags.h:64: Error: junk at end of line, first unrecognized character is `}'
vim +5 arch/um/include/asm/irqflags.h
65e62974a8a615 include/asm-um/irqflags.h Jeff Dike 2006-06-04 4
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @5 extern int get_signals(void);
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @6 extern int set_signals(int enable);
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @7 extern void block_signals(void);
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @8 extern void unblock_signals(void);
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 9
3e938957357459 arch/um/include/asm/irqflags.h Daniel Wagner 2016-06-12 10 #define arch_local_save_flags arch_local_save_flags
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @11 static inline unsigned long arch_local_save_flags(void)
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @12 {
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @13 return get_signals();
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @14 }
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 15
3e938957357459 arch/um/include/asm/irqflags.h Daniel Wagner 2016-06-12 16 #define arch_local_irq_restore arch_local_irq_restore
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @17 static inline void arch_local_irq_restore(unsigned long flags)
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 18 {
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @19 set_signals(flags);
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 20 }
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 21
3e938957357459 arch/um/include/asm/irqflags.h Daniel Wagner 2016-06-12 22 #define arch_local_irq_enable arch_local_irq_enable
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @23 static inline void arch_local_irq_enable(void)
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 24 {
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 25 unblock_signals();
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 26 }
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 27
3e938957357459 arch/um/include/asm/irqflags.h Daniel Wagner 2016-06-12 28 #define arch_local_irq_disable arch_local_irq_disable
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 @29 static inline void arch_local_irq_disable(void)
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 30 {
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 31 block_signals();
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 32 }
a34978cbd977ab arch/um/include/asm/irqflags.h Al Viro 2011-08-18 33
:::::: The code at line 5 was first introduced by commit
:::::: a34978cbd977ab62c744f63daacd9dc1474482be um: kill system-um.h
:::::: TO: Al Viro <viro@xxxxxxxxxxxxxxxx>
:::::: CC: Richard Weinberger <richard@xxxxxx>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip