diff options
-rw-r--r-- | include/linux/memory_hotplug.h | 1 | ||||
-rw-r--r-- | mm/memory_hotplug.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h index fed969281a41..35b07b773e6c 100644 --- a/include/linux/memory_hotplug.h +++ b/include/linux/memory_hotplug.h | |||
@@ -69,7 +69,6 @@ extern void online_page(struct page *page); | |||
69 | /* VM interface that may be used by firmware interface */ | 69 | /* VM interface that may be used by firmware interface */ |
70 | extern int online_pages(unsigned long, unsigned long); | 70 | extern int online_pages(unsigned long, unsigned long); |
71 | extern void __offline_isolated_pages(unsigned long, unsigned long); | 71 | extern void __offline_isolated_pages(unsigned long, unsigned long); |
72 | extern int offline_pages(unsigned long, unsigned long, unsigned long); | ||
73 | 72 | ||
74 | /* reasonably generic interface to expand the physical pages in a zone */ | 73 | /* reasonably generic interface to expand the physical pages in a zone */ |
75 | extern int __add_pages(int nid, struct zone *zone, unsigned long start_pfn, | 74 | extern int __add_pages(int nid, struct zone *zone, unsigned long start_pfn, |
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 67e941d7882c..f827cf4cb4e5 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c | |||
@@ -751,7 +751,7 @@ check_pages_isolated(unsigned long start_pfn, unsigned long end_pfn) | |||
751 | return offlined; | 751 | return offlined; |
752 | } | 752 | } |
753 | 753 | ||
754 | int offline_pages(unsigned long start_pfn, | 754 | static int offline_pages(unsigned long start_pfn, |
755 | unsigned long end_pfn, unsigned long timeout) | 755 | unsigned long end_pfn, unsigned long timeout) |
756 | { | 756 | { |
757 | unsigned long pfn, nr_pages, expire; | 757 | unsigned long pfn, nr_pages, expire; |