diff options
author | David S. Miller <davem@davemloft.net> | 2013-02-13 21:21:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-13 21:22:14 +0100 |
commit | 89a77915e0f56dc7b9f9082ba787895b6a83f809 (patch) | |
tree | ce147ee36f1117dddeac5e1ba53eab9986b1f47b /drivers/block/sunvdc.c | |
parent | sparc64: Add missing HAVE_ARCH_TRANSPARENT_HUGEPAGE. (diff) | |
download | linux-89a77915e0f56dc7b9f9082ba787895b6a83f809.tar.xz linux-89a77915e0f56dc7b9f9082ba787895b6a83f809.zip |
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 <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/sunvdc.c')
0 files changed, 0 insertions, 0 deletions