X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Finclude%2Flinux%2Fmemory_hotplug.h;h=538488bd1d3d97a27872a609f7ab308b64ca7a5c;hb=52f993b8e89487ec9ee15a7fb4979e0f09a45b27;hp=2ea574ff97146446729ab6fbe66333e3df3117a0;hpb=c189ccac5702322ed843fe17057035b7222a59b6;p=kvmfornfv.git diff --git a/kernel/include/linux/memory_hotplug.h b/kernel/include/linux/memory_hotplug.h index 2ea574ff9..538488bd1 100644 --- a/kernel/include/linux/memory_hotplug.h +++ b/kernel/include/linux/memory_hotplug.h @@ -85,7 +85,8 @@ extern int zone_grow_waitqueues(struct zone *zone, unsigned long nr_pages); extern int add_one_highpage(struct page *page, int pfn, int bad_ppro); /* VM interface that may be used by firmware interface */ extern int online_pages(unsigned long, unsigned long, int); -extern int test_pages_in_a_zone(unsigned long, unsigned long); +extern int test_pages_in_a_zone(unsigned long start_pfn, unsigned long end_pfn, + unsigned long *valid_start, unsigned long *valid_end); extern void __offline_isolated_pages(unsigned long, unsigned long); typedef void (*online_page_callback_t)(struct page *page);