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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
index 0a14dad95453..665951ef0390 100644
--- a/include/linux/memory_hotplug.h
+++ b/include/linux/memory_hotplug.h
@@ -58,7 +58,10 @@ extern int add_one_highpage(struct page *page, int pfn, int bad_ppro);
58extern void online_page(struct page *page); 58extern void online_page(struct page *page);
59/* VM interface that may be used by firmware interface */ 59/* VM interface that may be used by firmware interface */
60extern int online_pages(unsigned long, unsigned long); 60extern int online_pages(unsigned long, unsigned long);
61 61#ifdef CONFIG_MEMORY_HOTREMOVE
62extern int offline_pages(unsigned long, unsigned long, unsigned long);
63extern void __offline_isolated_pages(unsigned long, unsigned long);
64#endif
62/* reasonably generic interface to expand the physical pages in a zone */ 65/* reasonably generic interface to expand the physical pages in a zone */
63extern int __add_pages(struct zone *zone, unsigned long start_pfn, 66extern int __add_pages(struct zone *zone, unsigned long start_pfn,
64 unsigned long nr_pages); 67 unsigned long nr_pages);