aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/setup.c')
-rw-r--r--arch/x86_64/kernel/setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c
index 125a0bb1f5d6..dd8419b37a7e 100644
--- a/arch/x86_64/kernel/setup.c
+++ b/arch/x86_64/kernel/setup.c
@@ -348,7 +348,7 @@ static __init void parse_cmdline_early (char ** cmdline_p)
348 if (!memcmp(from, "mem=", 4)) 348 if (!memcmp(from, "mem=", 4))
349 parse_memopt(from+4, &from); 349 parse_memopt(from+4, &from);
350 350
351#ifdef CONFIG_DISCONTIGMEM 351#ifdef CONFIG_NUMA
352 if (!memcmp(from, "numa=", 5)) 352 if (!memcmp(from, "numa=", 5))
353 numa_setup(from+5); 353 numa_setup(from+5);
354#endif 354#endif
@@ -377,7 +377,7 @@ static __init void parse_cmdline_early (char ** cmdline_p)
377 *cmdline_p = command_line; 377 *cmdline_p = command_line;
378} 378}
379 379
380#ifndef CONFIG_DISCONTIGMEM 380#ifndef CONFIG_NUMA
381static void __init contig_initmem_init(void) 381static void __init contig_initmem_init(void)
382{ 382{
383 unsigned long bootmap_size, bootmap; 383 unsigned long bootmap_size, bootmap;
@@ -554,7 +554,7 @@ void __init setup_arch(char **cmdline_p)
554 acpi_numa_init(); 554 acpi_numa_init();
555#endif 555#endif
556 556
557#ifdef CONFIG_DISCONTIGMEM 557#ifdef CONFIG_NUMA
558 numa_initmem_init(0, end_pfn); 558 numa_initmem_init(0, end_pfn);
559#else 559#else
560 contig_initmem_init(); 560 contig_initmem_init();