summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 756d640723f9..96810a3c6003 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -995,12 +995,12 @@ void __init setup_arch(char **cmdline_p)
/*
* Parse SRAT to discover nodes.
*/
- acpi = acpi_numa_init();
+ acpi = !acpi_numa_init();
#endif
#ifdef CONFIG_AMD_NUMA
if (!acpi)
- amd = !amd_numa_init(0, max_pfn);
+ amd = !amd_numa_init();
#endif
initmem_init(acpi, amd);
OpenPOWER on IntegriCloud