[PATCH] kexec: Fix kdump failure with notsc

kbuild test robot lkp at intel.com
Thu Jul 7 01:46:33 PDT 2016


Hi,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.7-rc6 next-20160706]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Wei-Jiangang/kexec-Fix-kdump-failure-with-notsc/20160707-152535
config: x86_64-randconfig-s5-07071541 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   arch/x86/kernel/machine_kexec_64.c: In function 'machine_kexec':
>> arch/x86/kernel/machine_kexec_64.c:272:33: error: implicit declaration of function 'lapic_disabled' [-Werror=implicit-function-declaration]
     if (image->preserve_context || lapic_disabled()) {
                                    ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/lapic_disabled +272 arch/x86/kernel/machine_kexec_64.c

   266		save_ftrace_enabled = __ftrace_enabled_save();
   267	
   268		/* Interrupts aren't acceptable while we reboot */
   269		local_irq_disable();
   270		hw_breakpoint_disable();
   271	
 > 272		if (image->preserve_context || lapic_disabled()) {
   273	#ifdef CONFIG_X86_IO_APIC
   274			/*
   275			 * We need to put APICs in legacy mode so that we can

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 30554 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/kexec/attachments/20160707/4034830e/attachment-0001.obj>


More information about the kexec mailing list