diff options
Diffstat (limited to 'arch/x86/mm/srat.c')
-rw-r--r-- | arch/x86/mm/srat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/mm/srat.c b/arch/x86/mm/srat.c index 5ecf65117e6f..1953e9c9391a 100644 --- a/arch/x86/mm/srat.c +++ b/arch/x86/mm/srat.c | |||
@@ -191,6 +191,11 @@ acpi_numa_memory_affinity_init(struct acpi_srat_mem_affinity *ma) | |||
191 | (unsigned long long) start, (unsigned long long) end - 1, | 191 | (unsigned long long) start, (unsigned long long) end - 1, |
192 | hotpluggable ? " hotplug" : ""); | 192 | hotpluggable ? " hotplug" : ""); |
193 | 193 | ||
194 | /* Mark hotplug range in memblock. */ | ||
195 | if (hotpluggable && memblock_mark_hotplug(start, ma->length)) | ||
196 | pr_warn("SRAT: Failed to mark hotplug range [mem %#010Lx-%#010Lx] in memblock\n", | ||
197 | (unsigned long long)start, (unsigned long long)end - 1); | ||
198 | |||
194 | return 0; | 199 | return 0; |
195 | out_err_bad_srat: | 200 | out_err_bad_srat: |
196 | bad_srat(); | 201 | bad_srat(); |