linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tip:WIP.x86/ipi 1/25] arch/x86/kernel/kgdb.c:427:28: error: 'VECTOR_NMI' undeclared
@ 2019-07-04 22:47 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-07-04 22:47 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, tipbuild

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

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/ipi
head:   64fca03f132d830b48b20a8547fb8337e89715cd
commit: 3883fea4fbeb4a505c6db87b0ba9af910e10a07e [1/25] x86/kgbd: Use NMI_VECTOR not APIC_DM_NMI
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-6) 7.4.0
reproduce:
        git checkout 3883fea4fbeb4a505c6db87b0ba9af910e10a07e
        # 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>

All errors (new ones prefixed by >>):

   arch/x86/kernel/kgdb.c: In function 'kgdb_roundup_cpus':
>> arch/x86/kernel/kgdb.c:427:28: error: 'VECTOR_NMI' undeclared (first use in this function)
     apic->send_IPI_allbutself(VECTOR_NMI);
                               ^~~~~~~~~~
   arch/x86/kernel/kgdb.c:427:28: note: each undeclared identifier is reported only once for each function it appears in

vim +/VECTOR_NMI +427 arch/x86/kernel/kgdb.c

   412	
   413	#ifdef CONFIG_SMP
   414	/**
   415	 *	kgdb_roundup_cpus - Get other CPUs into a holding pattern
   416	 *
   417	 *	On SMP systems, we need to get the attention of the other CPUs
   418	 *	and get them be in a known state.  This should do what is needed
   419	 *	to get the other CPUs to call kgdb_wait(). Note that on some arches,
   420	 *	the NMI approach is not used for rounding up all the CPUs. For example,
   421	 *	in case of MIPS, smp_call_function() is used to roundup CPUs.
   422	 *
   423	 *	On non-SMP systems, this is not called.
   424	 */
   425	void kgdb_roundup_cpus(void)
   426	{
 > 427		apic->send_IPI_allbutself(VECTOR_NMI);
   428	}
   429	#endif
   430	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

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

only message in thread, other threads:[~2019-07-04 22:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-04 22:47 [tip:WIP.x86/ipi 1/25] arch/x86/kernel/kgdb.c:427:28: error: 'VECTOR_NMI' undeclared kbuild 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).