Merge tag 'vfio-v3.18-rc1' of git://github.com/awilliam/linux-vfio
[firefly-linux-kernel-4.4.55.git] / mm / memory_hotplug.c
index 2ff8c2325e968b509e983077a41ec4d0f42c00f4..29d8693d0c61cf663ee45551aaecff29ff7237cf 100644 (file)
@@ -1307,7 +1307,7 @@ int is_mem_section_removable(unsigned long start_pfn, unsigned long nr_pages)
 /*
  * Confirm all pages in a range [start, end) is belongs to the same zone.
  */
-static int test_pages_in_a_zone(unsigned long start_pfn, unsigned long end_pfn)
+int test_pages_in_a_zone(unsigned long start_pfn, unsigned long end_pfn)
 {
        unsigned long pfn;
        struct zone *zone = NULL;