X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=mm%2Fmemory_hotplug.c;h=29d8693d0c61cf663ee45551aaecff29ff7237cf;hb=27a9716bc80448f7e98fb1fb316daba241a4c539;hp=2ff8c2325e968b509e983077a41ec4d0f42c00f4;hpb=8d2d441ac4af223eae466c3c31ff737cc31a1411;p=firefly-linux-kernel-4.4.55.git diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 2ff8c2325e96..29d8693d0c61 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -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;