diff options
Diffstat (limited to 'include/linux/memory_hotplug.h')
-rw-r--r-- | include/linux/memory_hotplug.h | 2 |
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 | ||
127 | extern void arch_remove_memory(int nid, u64 start, u64 size, | 126 | extern void arch_remove_memory(int nid, u64 start, u64 size, |
128 | struct vmem_altmap *altmap); | 127 | struct vmem_altmap *altmap); |
129 | extern void __remove_pages(struct zone *zone, unsigned long start_pfn, | 128 | extern 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 |