aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoyster <oysterized@gmail.com>2019-05-03 13:43:38 +0200
committerMoyster <oysterized@gmail.com>2019-05-03 13:43:38 +0200
commit77811261bb6992e40bd2b049167fba0de490a84c (patch)
tree0e0661c315fc6ab2d0765d924389b118f2d70bf4
parent8e49cfea558c54bbc648314de117e3bd7f03cdb9 (diff)
mm/page_alloc: remove mtk custom bits
-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 */