From: kbuild test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, tipbuild@zytor.com
Subject: [tip:WIP.x86/ipi 1/25] arch/x86/kernel/kgdb.c:427:28: error: 'VECTOR_NMI' undeclared
Date: Fri, 5 Jul 2019 06:47:36 +0800 [thread overview]
Message-ID: <201907050627.2DLrbbde%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2019-07-04 22:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201907050627.2DLrbbde%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=tipbuild@zytor.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox