Revert "staging: ion: remove __GFP_NOWARN when use low order gfp flags"

This reverts commit d2805d7fff.

Change-Id: Id70bd22428df247703d3e4c466fe450faf680d03
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
Jianqun Xu
2020-12-22 09:30:11 +08:00
committed by Tao Huang
parent b76b1f8f53
commit d386b9cfa6

View File

@@ -20,7 +20,7 @@
static gfp_t high_order_gfp_flags = (GFP_HIGHUSER | __GFP_ZERO | __GFP_NOWARN |
__GFP_NORETRY) & ~__GFP_RECLAIM;
static gfp_t low_order_gfp_flags = GFP_HIGHUSER | __GFP_ZERO;
static gfp_t low_order_gfp_flags = GFP_HIGHUSER | __GFP_ZERO | __GFP_NOWARN;
static const unsigned int orders[] = {8, 4, 0};
static int order_to_index(unsigned int order)