Commit fe65ec5b authored by Dima Zavin's avatar Dima Zavin Committed by Greg Kroah-Hartman

gpu: ion: do not ask for compound pages in system heap

Signed-off-by: default avatarDima Zavin <dima@android.com>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0b9ec1cf
......@@ -41,7 +41,7 @@ static struct page_info *alloc_largest_available(unsigned long size)
for (i = 0; i < ARRAY_SIZE(orders); i++) {
if (size < (1 << orders[i]) * PAGE_SIZE)
continue;
page = alloc_pages(GFP_HIGHUSER | __GFP_ZERO | __GFP_COMP |
page = alloc_pages(GFP_HIGHUSER | __GFP_ZERO |
__GFP_NOWARN | __GFP_NORETRY, orders[i]);
if (!page)
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment