diff options
author | 2023-01-24 16:34:33 -0400 | |
---|---|---|
committer | 2023-02-09 16:51:45 -0800 | |
commit | 63b605128655f2e3968d99e30b293c7e7eaa2fc2 (patch) | |
tree | 922ffdddbe05a03a78a01a802e5d49a0ab34159b /mm/memory_hotplug.c | |
parent | mm/gup: make get_user_pages_fast_only() return the common return value (diff) | |
download | wireguard-linux-63b605128655f2e3968d99e30b293c7e7eaa2fc2.tar.xz wireguard-linux-63b605128655f2e3968d99e30b293c7e7eaa2fc2.zip |
mm/gup: move gup_must_unshare() to mm/internal.h
This function is only used in gup.c and closely related. It touches
FOLL_PIN so it must be moved before the next patch.
Link: https://lkml.kernel.org/r/12-v2-987e91b59705+36b-gup_tidy_jgg@nvidia.com
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Claudio Imbrenda <imbrenda@linux.ibm.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions