[linux-next:master 11921/12162] include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   8d2be868b42c08290509c60515865f4de24ea704
commit: 1141ba8fc84c333b138946d4cf973f5ade78b9ed [11921/12162] powerpc: move arch_trigger_cpumask_backtrace from nmi.h to irq.h
config: powerpc-randconfig-r025-20230622 (https://download.01.org/0day-ci/archive/20230623/202306232330.luFAk63S-lkp@xxxxxxxxx/config)
compiler: powerpc-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230623/202306232330.luFAk63S-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306232330.luFAk63S-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   powerpc-linux-ld: kernel/panic.o: in function `trigger_all_cpu_backtrace':
>> include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'
>> powerpc-linux-ld: include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'
>> powerpc-linux-ld: include/linux/nmi.h:160: undefined reference to `arch_trigger_cpumask_backtrace'
   powerpc-linux-ld: kernel/sched/core.o: in function `trigger_single_cpu_backtrace':
   include/linux/nmi.h:178: undefined reference to `arch_trigger_cpumask_backtrace'
   powerpc-linux-ld: kernel/watchdog.o: in function `trigger_allbutself_cpu_backtrace':
   include/linux/nmi.h:166: undefined reference to `arch_trigger_cpumask_backtrace'
   powerpc-linux-ld: drivers/tty/sysrq.o:include/linux/nmi.h:160: more undefined references to `arch_trigger_cpumask_backtrace' follow


vim +160 include/linux/nmi.h

6e7458a6f074c7 Ulrich Obergfell 2014-10-13  151  
47cab6a722d44c Ingo Molnar      2009-08-03  152  /*
47cab6a722d44c Ingo Molnar      2009-08-03  153   * Create trigger_all_cpu_backtrace() out of the arch-provided
47cab6a722d44c Ingo Molnar      2009-08-03  154   * base function. Return whether such support was available,
47cab6a722d44c Ingo Molnar      2009-08-03  155   * to allow calling code to fall back to some other mechanism:
47cab6a722d44c Ingo Molnar      2009-08-03  156   */
9a01c3ed5cdb35 Chris Metcalf    2016-10-07  157  #ifdef arch_trigger_cpumask_backtrace
47cab6a722d44c Ingo Molnar      2009-08-03  158  static inline bool trigger_all_cpu_backtrace(void)
47cab6a722d44c Ingo Molnar      2009-08-03  159  {
9a01c3ed5cdb35 Chris Metcalf    2016-10-07 @160  	arch_trigger_cpumask_backtrace(cpu_online_mask, false);
47cab6a722d44c Ingo Molnar      2009-08-03  161  	return true;
47cab6a722d44c Ingo Molnar      2009-08-03  162  }
9a01c3ed5cdb35 Chris Metcalf    2016-10-07  163  

:::::: The code at line 160 was first introduced by commit
:::::: 9a01c3ed5cdb35d9004eb92510ee6ea11b4a5f16 nmi_backtrace: add more trigger_*_cpu_backtrace() methods

:::::: TO: Chris Metcalf <cmetcalf@xxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux