android: binder: use GPF_HIGHUSER flag since binder is designed for userspace

Change-Id: I8b5b6cc759f99bc1241ea32dd526d62f3c77101c
Signed-off-by: Paul Reioux <reioux@gmail.com>
This commit is contained in:
Paul Reioux 2015-06-07 17:03:58 +02:00 committed by Luca Stefani
parent 0dcce19efd
commit 51f6a39bcc
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ static int binder_update_page_range(struct binder_proc *proc, int allocate,
page = &proc->pages[(page_addr - proc->buffer) / PAGE_SIZE];
BUG_ON(*page);
*page = alloc_page(GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO);
*page = alloc_page(GFP_HIGHUSER);
if (*page == NULL) {
pr_err("%d: binder_alloc_buf failed for page at %pK\n",
proc->pid, page_addr);