projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f329469
)
x86: 32-bit numa, build fix
author
Ingo Molnar
<mingo@elte.hu>
Tue, 3 Jun 2008 09:36:56 +0000
(11:36 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 3 Jun 2008 09:45:09 +0000
(11:45 +0200)
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.
arch/x86/mm/discontig_32.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/discontig_32.c
b/arch/x86/mm/discontig_32.c
index bb8544a7cb9ddf741ebd5633cf9ed5dc7f9cd01a..0d28b4bff817184172079fd6ccbf5c5ca8a5ea14 100644
(file)
--- a/
arch/x86/mm/discontig_32.c
+++ b/
arch/x86/mm/discontig_32.c
@@
-455,7
+455,7
@@
int memory_add_physaddr_to_nid(u64 addr)
EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
#endif
-#if
def CONFIG_ACPI_NUMA
+#if
defined(CONFIG_ACPI_NUMA) && !defined(CONFIG_HAVE_ARCH_PARSE_SRAT)
/*
* Dummy on 32-bit, for now:
*/