summaryrefslogtreecommitdiffstats
path: root/mm/hmm.c
diff options
context:
space:
mode:
authorJérôme Glisse <jglisse@redhat.com>2018-04-11 01:28:49 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-11 19:28:30 +0200
commitb2744118a65efee90aea95f7cd31bf74eb8009f8 (patch)
tree2df29a79d45c86a1747c258ff90c0d8f293ac509 /mm/hmm.c
parentmm/hmm: do not differentiate between empty entry or missing directory (diff)
downloadlinux-b2744118a65efee90aea95f7cd31bf74eb8009f8.tar.xz
linux-b2744118a65efee90aea95f7cd31bf74eb8009f8.zip
mm/hmm: rename HMM_PFN_DEVICE_UNADDRESSABLE to HMM_PFN_DEVICE_PRIVATE
Make naming consistent across code, DEVICE_PRIVATE is the name use outside HMM code so use that one. Link: http://lkml.kernel.org/r/20180323005527.758-12-jglisse@redhat.com Signed-off-by: Jérôme Glisse <jglisse@redhat.com> Reviewed-by: John Hubbard <jhubbard@nvidia.com> Cc: Evgeny Baskakov <ebaskakov@nvidia.com> Cc: Ralph Campbell <rcampbell@nvidia.com> Cc: Mark Hairgrove <mhairgrove@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hmm.c')
-rw-r--r--mm/hmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/hmm.c b/mm/hmm.c
index b8affe0bf4eb..c287fbbbf088 100644
--- a/mm/hmm.c
+++ b/mm/hmm.c
@@ -472,7 +472,7 @@ again:
pfns[i] |= HMM_PFN_WRITE;
} else if (write_fault)
goto fault;
- pfns[i] |= HMM_PFN_DEVICE_UNADDRESSABLE;
+ pfns[i] |= HMM_PFN_DEVICE_PRIVATE;
} else if (is_migration_entry(entry)) {
if (hmm_vma_walk->fault) {
pte_unmap(ptep);