diff --git a/mm/mmzone.c b/mm/mmzone.c index 4686fdc23bb9..4dd4f96ddfc0 100644 --- a/mm/mmzone.c +++ b/mm/mmzone.c @@ -71,6 +71,7 @@ struct zoneref *__next_zones_zonelist(struct zoneref *z, return z; } +EXPORT_SYMBOL_GPL(__next_zones_zonelist); #ifdef CONFIG_ARCH_HAS_HOLES_MEMORYMODEL bool memmap_valid_within(unsigned long pfn, diff --git a/mm/page_alloc.c b/mm/page_alloc.c index e22967a84da9..56f82c3052c7 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -3441,6 +3441,7 @@ bool zone_watermark_ok_safe(struct zone *z, unsigned int order, return __zone_watermark_ok(z, order, mark, classzone_idx, 0, free_pages); } +EXPORT_SYMBOL_GPL(zone_watermark_ok_safe); #ifdef CONFIG_NUMA static bool zone_allows_reclaim(struct zone *local_zone, struct zone *zone)