diff options
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 915f5efefcf5..9c857f05cef0 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -1056,6 +1056,15 @@ void __init setup_arch(char **cmdline_p) | |||
1056 | setup_bios_corruption_check(); | 1056 | setup_bios_corruption_check(); |
1057 | #endif | 1057 | #endif |
1058 | 1058 | ||
1059 | /* | ||
1060 | * In the memory hotplug case, the kernel needs info from SRAT to | ||
1061 | * determine which memory is hotpluggable before allocating memory | ||
1062 | * using memblock. | ||
1063 | */ | ||
1064 | acpi_boot_table_init(); | ||
1065 | early_acpi_boot_init(); | ||
1066 | early_parse_srat(); | ||
1067 | |||
1059 | #ifdef CONFIG_X86_32 | 1068 | #ifdef CONFIG_X86_32 |
1060 | printk(KERN_DEBUG "initial memory mapped: [mem 0x00000000-%#010lx]\n", | 1069 | printk(KERN_DEBUG "initial memory mapped: [mem 0x00000000-%#010lx]\n", |
1061 | (max_pfn_mapped<<PAGE_SHIFT) - 1); | 1070 | (max_pfn_mapped<<PAGE_SHIFT) - 1); |
@@ -1101,10 +1110,6 @@ void __init setup_arch(char **cmdline_p) | |||
1101 | /* | 1110 | /* |
1102 | * Parse the ACPI tables for possible boot-time SMP configuration. | 1111 | * Parse the ACPI tables for possible boot-time SMP configuration. |
1103 | */ | 1112 | */ |
1104 | acpi_boot_table_init(); | ||
1105 | |||
1106 | early_acpi_boot_init(); | ||
1107 | |||
1108 | initmem_init(); | 1113 | initmem_init(); |
1109 | memblock_find_dma_reserve(); | 1114 | memblock_find_dma_reserve(); |
1110 | 1115 | ||