aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoyster <oysterized@gmail.com>2019-05-03 14:22:38 +0200
committerMoyster <oysterized@gmail.com>2019-05-03 14:43:37 +0200
commit994c6d423d111872bd6056c9e5151dda5c0225f9 (patch)
tree330190b06f4be37c8d46fffc37d61cfe08a73487
parent006808c40aaad8d3814bd78915bf37c307bddcf7 (diff)
mm/page_alloc: remove more mtk bits
-rw-r--r--mm/page_alloc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 1135f4a10..82a296ec2 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1518,13 +1518,6 @@ static int rmqueue_bulk(struct zone *zone, unsigned int order,
list_add(&page->lru, list);
else
list_add_tail(&page->lru, list);
-
- if (IS_ENABLED(CONFIG_MTKPASR)) {
- mt = get_pageblock_migratetype(page);
- /* No change on the mobility of "MIGRATE_MTKPASR" page */
- if (!is_migrate_mtkpasr(mt) && !is_migrate_mtkpasr(migratetype))
- mt = migratetype;
- }
list = &page->lru;
#if !defined(CONFIG_CMA) || !defined(CONFIG_MTK_SVP) // SVP 16