Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755435Ab2JPAdR (ORCPT ); Mon, 15 Oct 2012 20:33:17 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:50997 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755285Ab2JPAdN (ORCPT ); Mon, 15 Oct 2012 20:33:13 -0400 From: =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= To: gregkh@linuxfoundation.org Cc: xiaobing.tu@intel.com, ccross@android.com, davej@redhat.com, akpm@linux-foundation.org, mingo@elte.hu, rusty@rustcorp.com.au, a.p.zijlstra@chello.nl, linux-kernel@vger.kernel.org, rostedt@goodmis.org, di.zhang@intel.com, xindong.ma@intel.com, alex.zuo@intel.com, =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= Subject: [PATCH 2/2] Staging: android: binder: Allow using highmem for binder buffers Date: Mon, 15 Oct 2012 17:32:42 -0700 Message-Id: <1350347562-32643-2-git-send-email-arve@android.com> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1350347562-32643-1-git-send-email-arve@android.com> References: <20121015235836.GA3214@kroah.com> <1350347562-32643-1-git-send-email-arve@android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1079 Lines: 27 Change-Id: I19be5fd89c194abcb8b041e2dd6c4d71ae7b1cc2 Signed-off-by: Arve Hjønnevåg --- drivers/staging/android/binder.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c index b89799a..c831dcc 100644 --- a/drivers/staging/android/binder.c +++ b/drivers/staging/android/binder.c @@ -671,7 +671,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_ZERO); + *page = alloc_page(GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); if (*page == NULL) { printk(KERN_ERR "binder: %d: binder_alloc_buf failed " "for page at %p\n", proc->pid, page_addr); -- 1.7.7.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/