Re: [RESEND PATCH v5 5/5] x86, acpi, cpu-hotplug: Set persistent cpuid <-> nodeid mapping when booting.

From: Zhu Guihua
Date: Wed Mar 02 2016 - 21:21:20 EST



On 03/03/2016 10:11 AM, kbuild test robot wrote:
Hi Gu,

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

url: https://github.com/0day-ci/linux/commits/Zhu-Guihua/Make-cpuid-nodeid-mapping-persistent/20160303-094713
config: ia64-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64

All errors (new ones prefixed by >>):

arch/ia64/kernel/acpi.c:799:5: error: conflicting types for 'acpi_map_cpu2node'
int acpi_map_cpu2node(acpi_handle handle, int cpu, int physid)
^
In file included from arch/ia64/kernel/acpi.c:43:0:
include/linux/acpi.h:268:6: note: previous declaration of 'acpi_map_cpu2node' was here
void acpi_map_cpu2node(acpi_handle handle, int cpu, int physid);
^

vim +/acpi_map_cpu2node +799 arch/ia64/kernel/acpi.c

793 }
794
795 /*
796 * ACPI based hotplug CPU support
797 */
798 #ifdef CONFIG_ACPI_HOTPLUG_CPU
> 799 int acpi_map_cpu2node(acpi_handle handle, int cpu, int physid)
800 {
801 #ifdef CONFIG_ACPI_NUMA
802 /*

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

Thanks for your test. I will investigate this.

Thanks,
Zhu