memory_hotplug.c (9ca6551ee24368a4d2b09566ea4d10fe87860379) | memory_hotplug.c (cb8e3c8b4f45e4ed8987a581956dc9c3827a5bcf) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/mm/memory_hotplug.c 4 * 5 * Copyright (C) 6 */ 7 8#include <linux/stddef.h> --- 1753 unchanged lines hidden (view full) --- 1762 1763 arch_remove_memory(nid, start, size, NULL); 1764 1765 if (IS_ENABLED(CONFIG_ARCH_KEEP_MEMBLOCK)) { 1766 memblock_free(start, size); 1767 memblock_remove(start, size); 1768 } 1769 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/mm/memory_hotplug.c 4 * 5 * Copyright (C) 6 */ 7 8#include <linux/stddef.h> --- 1753 unchanged lines hidden (view full) --- 1762 1763 arch_remove_memory(nid, start, size, NULL); 1764 1765 if (IS_ENABLED(CONFIG_ARCH_KEEP_MEMBLOCK)) { 1766 memblock_free(start, size); 1767 memblock_remove(start, size); 1768 } 1769 |
1770 release_mem_region_adjustable(&iomem_resource, start, size); | 1770 release_mem_region_adjustable(start, size); |
1771 1772 try_offline_node(nid); 1773 1774 mem_hotplug_done(); 1775 return 0; 1776} 1777 1778/** --- 73 unchanged lines hidden --- | 1771 1772 try_offline_node(nid); 1773 1774 mem_hotplug_done(); 1775 return 0; 1776} 1777 1778/** --- 73 unchanged lines hidden --- |