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:
parent
b21d7a0f7b
commit
0a81e68654
2 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue