aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memory_hotplug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/memory_hotplug.h')
-rw-r--r--include/linux/memory_hotplug.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
index 988fde33cd7f..87bf9c4a889e 100644
--- a/include/linux/memory_hotplug.h
+++ b/include/linux/memory_hotplug.h
@@ -123,12 +123,10 @@ static inline bool movable_node_is_enabled(void)
123 return movable_node_enabled; 123 return movable_node_enabled;
124} 124}
125 125
126#ifdef CONFIG_MEMORY_HOTREMOVE
127extern void arch_remove_memory(int nid, u64 start, u64 size, 126extern void arch_remove_memory(int nid, u64 start, u64 size,
128 struct vmem_altmap *altmap); 127 struct vmem_altmap *altmap);
129extern void __remove_pages(struct zone *zone, unsigned long start_pfn, 128extern void __remove_pages(struct zone *zone, unsigned long start_pfn,
130 unsigned long nr_pages, struct vmem_altmap *altmap); 129 unsigned long nr_pages, struct vmem_altmap *altmap);
131#endif /* CONFIG_MEMORY_HOTREMOVE */
132 130
133/* 131/*
134 * Do we want sysfs memblock files created. This will allow userspace to online 132 * Do we want sysfs memblock files created. This will allow userspace to online