From: Colin Cross Date: Sat, 14 Dec 2013 03:26:27 +0000 (-0800) Subject: ion: use alloc_pages in system contig heap X-Git-Tag: v3.14-rc1~150^2~370 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c6a470557e51bb4e868c22450811726c32f5787;p=pandora-kernel.git ion: use alloc_pages in system contig heap There is no reason to use kzalloc, just call alloc_pages directly. Change the GFP from GFP_KERNEL to include __GFP_HIGH, to allow it to return contiguous pages from highmem. virt_to_* functions aren't valid on highmem pages, so store the struct page * in an sg_table in buffer->priv_virt like most other heaps, and replace virt_to_* with page_to_*. Signed-off-by: Colin Cross Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed