diff options
author | David S. Miller <davem@davemloft.net> | 2013-02-13 12:21:06 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-27 09:21:12 -0800 |
commit | 1f751f60a108d559a55fab8a916144da0fb1bb88 (patch) | |
tree | 5c4aee15a74ac53ab909cd0022a12d282f527336 /kernel/gcov/gcov.h | |
parent | 15c67c392af6a7b1ad5b8b93c7a6613b15f0bfda (diff) |
sparc64: Fix get_user_pages_fast() wrt. THP.
[ Upstream commit 89a77915e0f56dc7b9f9082ba787895b6a83f809 ]
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 <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/gcov/gcov.h')
0 files changed, 0 insertions, 0 deletions