selftests/mm: reuse pagemap_get_entry() in vm_util.h
authorPeter Xu <peterx@redhat.com>
Wed, 12 Apr 2023 16:42:31 +0000 (12:42 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:30:04 +0000 (16:30 -0700)
commit366e93c46576e77f1ccfdeab31127f40537e7484
tree8ade8273a435a77be752114de444f99430da6e28
parent9f74696bd23da71ab19b1825f813421904cd4169
selftests/mm: reuse pagemap_get_entry() in vm_util.h

Meanwhile drop pagemap_read_vaddr().

Link: https://lkml.kernel.org/r/20230412164231.328157-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Dmitry Safonov <0x7f454c46@gmail.com>
Cc: Zach O'Keefe <zokeefe@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/userfaultfd.c