aboutsummaryrefslogtreecommitdiff
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index ee0229558..caab27c2a 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2021,12 +2021,7 @@ static bool __zone_watermark_ok(struct zone *z, int order, unsigned long mark,
#endif
#endif
-#if defined(CONFIG_CMA) && defined(CONFIG_MTK_SVP) // SVP 15
if (free_pages <= min + z->lowmem_reserve[classzone_idx])
-#else
- if (free_pages - free_cma <= min + lowmem_reserve)
-#endif
-
return false;
for (o = 0; o < order; o++) {
/* At the next order, this order's pages become unavailable */