diff options
author | David S. Miller <davem@davemloft.net> | 2014-04-25 10:21:12 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-03 22:32:37 -0700 |
commit | 04df419de34104d8818b8c5cffaa062fa36d20ea (patch) | |
tree | 35f20c565e3d6797ed9638e688e4e911251da011 /arch/sparc/include/asm/sfp-machine_64.h | |
parent | 51e5ef1bb7ab0e5fa7de4e802da5ab22fe35f0bf (diff) | |
download | linux-04df419de34104d8818b8c5cffaa062fa36d20ea.tar.gz linux-04df419de34104d8818b8c5cffaa062fa36d20ea.tar.bz2 linux-04df419de34104d8818b8c5cffaa062fa36d20ea.zip |
sparc64: Fix bugs in get_user_pages_fast() wrt. THP.
The large PMD path needs to check _PAGE_VALID not _PAGE_PRESENT, to
decide if it needs to bail and return 0.
pmd_large() should therefore just check _PAGE_PMD_HUGE.
Calls to gup_huge_pmd() are guarded with a check of pmd_large(), so we
just need to add a valid bit check.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/sfp-machine_64.h')
0 files changed, 0 insertions, 0 deletions