diff options
Diffstat (limited to 'arch/x86_64/mm/numa.c')
-rw-r--r-- | arch/x86_64/mm/numa.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86_64/mm/numa.c b/arch/x86_64/mm/numa.c index 4be82d6e2b48..779132af29a7 100644 --- a/arch/x86_64/mm/numa.c +++ b/arch/x86_64/mm/numa.c | |||
@@ -142,6 +142,9 @@ void __init setup_node_bootmem(int nodeid, unsigned long start, unsigned long en | |||
142 | 142 | ||
143 | reserve_bootmem_node(NODE_DATA(nodeid), nodedata_phys, pgdat_size); | 143 | reserve_bootmem_node(NODE_DATA(nodeid), nodedata_phys, pgdat_size); |
144 | reserve_bootmem_node(NODE_DATA(nodeid), bootmap_start, bootmap_pages<<PAGE_SHIFT); | 144 | reserve_bootmem_node(NODE_DATA(nodeid), bootmap_start, bootmap_pages<<PAGE_SHIFT); |
145 | #ifdef CONFIG_ACPI_NUMA | ||
146 | srat_reserve_add_area(nodeid); | ||
147 | #endif | ||
145 | node_set_online(nodeid); | 148 | node_set_online(nodeid); |
146 | } | 149 | } |
147 | 150 | ||
@@ -335,6 +338,8 @@ __init int numa_setup(char *opt) | |||
335 | #ifdef CONFIG_ACPI_NUMA | 338 | #ifdef CONFIG_ACPI_NUMA |
336 | if (!strncmp(opt,"noacpi",6)) | 339 | if (!strncmp(opt,"noacpi",6)) |
337 | acpi_numa = -1; | 340 | acpi_numa = -1; |
341 | if (!strncmp(opt,"hotadd=", 7)) | ||
342 | hotadd_percent = simple_strtoul(opt+7, NULL, 10); | ||
338 | #endif | 343 | #endif |
339 | return 1; | 344 | return 1; |
340 | } | 345 | } |