Merge "mm: make sure the gtp flag is low default [1/1]" into amlogic-4.9-dev

This commit is contained in:
Tao Zeng
2018-10-30 21:12:02 -07:00
committed by Gerrit Code Review

View File

@@ -318,6 +318,10 @@ static int ion_system_heap_create_pools(struct ion_page_pool **pools,
if (orders[i] > 4)
gfp_flags = high_order_gfp_flags;
#ifdef CONFIG_AMLOGIC_MODIFY
else if (!orders[i])
gfp_flags = low_order_gfp_flags;
#endif
pool = ion_page_pool_create(gfp_flags, orders[i], cached);
if (!pool)