Revert "ANDROID: mm: export zone_watermark_ok"

This reverts commit e909fe79d2.

The symbols exported in it were never used by any external modules, so
remove the exports as they are not needed.

Bug: 203756332
Bug: 140294230
Cc: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ib3315ba129773256398a71ffe4c3acb55075b012
This commit is contained in:
Greg Kroah-Hartman
2022-08-31 11:45:30 +02:00
parent e09aff6074
commit c7afbeb17e
2 changed files with 0 additions and 4 deletions

View File

@@ -72,7 +72,6 @@ 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,
@@ -133,4 +132,3 @@ enum zone_type gfp_zone(gfp_t flags)
VM_BUG_ON((GFP_ZONE_BAD >> bit) & 1);
return z;
}
EXPORT_SYMBOL_GPL(gfp_zone);

View File

@@ -3999,7 +3999,6 @@ bool zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
return __zone_watermark_ok(z, order, mark, highest_zoneidx, alloc_flags,
zone_page_state(z, NR_FREE_PAGES));
}
EXPORT_SYMBOL_GPL(zone_watermark_ok);
static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
unsigned long mark, int highest_zoneidx,
@@ -4052,7 +4051,6 @@ bool zone_watermark_ok_safe(struct zone *z, unsigned int order,
return __zone_watermark_ok(z, order, mark, highest_zoneidx, 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)