From: David S. Miller Date: Wed, 13 Feb 2013 20:21:06 +0000 (-0800) Subject: sparc64: Fix get_user_pages_fast() wrt. THP. X-Git-Tag: v3.8~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89a77915e0f56dc7b9f9082ba787895b6a83f809;p=pandora-kernel.git sparc64: Fix get_user_pages_fast() wrt. THP. Mostly mirrors the s390 logic, as unlike x86 we don't need the SetPageReferenced() bits. On sparc64 we also lack a user/privileged bit in the huge PMDs. In order to make this work for THP and non-THP builds, some header file adjustments were necessary. Namely, provide the PMD_HUGE_* bit defines and the pmd_large() inline unconditionally rather than protected by TRANSPARENT_HUGEPAGE. Reported-by: Aneesh Kumar K.V Signed-off-by: David S. Miller --- Reading git-diff-tree failed