[PATCH] kexec: Fix kdump failure with notsc

Wei, Jiangang weijg.fnst at cn.fujitsu.com
Thu Jul 7 03:26:47 PDT 2016


Hi all,

I fixed the compile error and sent the v2.
Please ignore this serial.

Thanks,
wei

On Thu, 2016-07-07 at 16:46 +0800, kbuild test robot wrote:
> 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
> 
> 





More information about the kexec mailing list