diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2023-01-24 16:34:33 -0400 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-09 16:51:45 -0800 |
commit | 63b605128655f2e3968d99e30b293c7e7eaa2fc2 (patch) | |
tree | 922ffdddbe05a03a78a01a802e5d49a0ab34159b /mm/damon | |
parent | 9198a9196ee67814a101c178ed828f8ea9c2965e (diff) | |
download | lwn-63b605128655f2e3968d99e30b293c7e7eaa2fc2.tar.gz lwn-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/damon')
0 files changed, 0 insertions, 0 deletions