Skip to content

Commit

Permalink
x86: 32-bit numa, build fix
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ingo Molnar committed Jun 3, 2008
1 parent f329469 commit cf3d0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/mm/discontig_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ int memory_add_physaddr_to_nid(u64 addr)
EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
#endif

#ifdef CONFIG_ACPI_NUMA
#if defined(CONFIG_ACPI_NUMA) && !defined(CONFIG_HAVE_ARCH_PARSE_SRAT)
/*
* Dummy on 32-bit, for now:
*/
Expand Down

0 comments on commit cf3d0cb

Please sign in to comment.