ANDROID: GKI: mm: Export symbols __next_zones_zonelist and zone_watermark_ok_safe

These symbols are required to modularize driver for
qcom,msm-ion.

Bug: 147914088
Change-Id: Ice7f76c6a52c6cc94ad7076a1c2396a90d6aa9ca
Signed-off-by: Hridya Valsaraju <hridya@google.com>
Signed-off-by: Saravana Kannan <saravanak@google.com>
This commit is contained in:
Hridya Valsaraju 2020-01-17 14:20:06 -08:00 committed by Saravana Kannan
parent b21d7a0f7b
commit 0a81e68654
2 changed files with 2 additions and 0 deletions

View file

@ -71,6 +71,7 @@ struct zoneref *__next_zones_zonelist(struct zoneref *z,
return z; return z;
} }
EXPORT_SYMBOL_GPL(__next_zones_zonelist);
#ifdef CONFIG_ARCH_HAS_HOLES_MEMORYMODEL #ifdef CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
bool memmap_valid_within(unsigned long pfn, bool memmap_valid_within(unsigned long pfn,

View file

@ -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, return __zone_watermark_ok(z, order, mark, classzone_idx, 0,
free_pages); free_pages);
} }
EXPORT_SYMBOL_GPL(zone_watermark_ok_safe);
#ifdef CONFIG_NUMA #ifdef CONFIG_NUMA
static bool zone_allows_reclaim(struct zone *local_zone, struct zone *zone) static bool zone_allows_reclaim(struct zone *local_zone, struct zone *zone)