aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/memory.c')
-rw-r--r--drivers/base/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/memory.c b/drivers/base/memory.c
index deb3f029b451..79fcd2bae96b 100644
--- a/drivers/base/memory.c
+++ b/drivers/base/memory.c
@@ -712,7 +712,7 @@ static int add_memory_block(int base_section_nr)
712 * need an interface for the VM to add new memory regions, 712 * need an interface for the VM to add new memory regions,
713 * but without onlining it. 713 * but without onlining it.
714 */ 714 */
715int register_new_memory(int nid, struct mem_section *section) 715int hotplug_memory_register(int nid, struct mem_section *section)
716{ 716{
717 int ret = 0; 717 int ret = 0;
718 struct memory_block *mem; 718 struct memory_block *mem;
@@ -731,7 +731,7 @@ int register_new_memory(int nid, struct mem_section *section)
731 } 731 }
732 732
733 if (mem->section_count == sections_per_block) 733 if (mem->section_count == sections_per_block)
734 ret = register_mem_sect_under_node(mem, nid); 734 ret = register_mem_sect_under_node(mem, nid, false);
735out: 735out:
736 mutex_unlock(&mem_sysfs_mutex); 736 mutex_unlock(&mem_sysfs_mutex);
737 return ret; 737 return ret;