提交 cf3d0cb8 编写于 作者: I Ingo Molnar

x86: 32-bit numa, build fix

on Summit it's possible to have:

 CONFIG_ACPI_SRAT=y
 CONFIG_HAVE_ARCH_PARSE_SRAT=y

in which case acpi.h defines the acpi_numa_slit_init() and
acpi_numa_processor_affinity_init() methods as a macro.
上级 f3294690
...@@ -455,7 +455,7 @@ int memory_add_physaddr_to_nid(u64 addr) ...@@ -455,7 +455,7 @@ int memory_add_physaddr_to_nid(u64 addr)
EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid); EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
#endif #endif
#ifdef CONFIG_ACPI_NUMA #if defined(CONFIG_ACPI_NUMA) && !defined(CONFIG_HAVE_ARCH_PARSE_SRAT)
/* /*
* Dummy on 32-bit, for now: * Dummy on 32-bit, for now:
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册