diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2017-09-06 16:20:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-06 17:27:26 -0700 |
commit | 09180ca4b3bc7b1ffdbae62a75f716dfc0685861 (patch) | |
tree | 2128cd9de21d8803f14b7d6893738305388e9c89 /lib/842 | |
parent | dba58d3b8c5045ad89c1c95d33d01451e3964db7 (diff) | |
download | linux-stable-09180ca4b3bc7b1ffdbae62a75f716dfc0685861.tar.gz linux-stable-09180ca4b3bc7b1ffdbae62a75f716dfc0685861.tar.bz2 linux-stable-09180ca4b3bc7b1ffdbae62a75f716dfc0685861.zip |
mm/gup: make __gup_device_* require THP
These functions are the only bits of generic code that use
{pud,pmd}_pfn() without checking for CONFIG_TRANSPARENT_HUGEPAGE. This
works fine on x86, the only arch with devmap support, since the *_pfn()
functions are always defined there, but this isn't true for every
architecture.
Link: http://lkml.kernel.org/r/20170626063833.11094-1-oohall@gmail.com
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/842')
0 files changed, 0 insertions, 0 deletions