From: Huang Ying Date: Sun, 30 Jan 2011 03:15:47 +0000 (+0800) Subject: mm: export __get_user_pages X-Git-Tag: v2.6.39-rc1~436^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0014bd990e69063b0fb78940b35439d7980ce3ee;p=pandora-kernel.git mm: export __get_user_pages In most cases, get_user_pages and get_user_pages_fast should be used to pin user pages in memory. But sometimes, some special flags except FOLL_GET, FOLL_WRITE and FOLL_FORCE are needed, for example in following patch, KVM needs FOLL_HWPOISON. To support these users, __get_user_pages is exported directly. There are some symbol name conflicts in infiniband driver, fixed them too. Signed-off-by: Huang Ying CC: Andrew Morton CC: Michel Lespinasse CC: Roland Dreier CC: Ralph Campbell Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed