mm: move FOLL_* defs to mm_types.h
authorDavid Howells <dhowells@redhat.com>
Wed, 21 Dec 2022 21:24:54 +0000 (21:24 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 19 Jan 2023 01:12:48 +0000 (17:12 -0800)
commitb5054174ac7c7d8fae15deee7ddc0e20fd604f30
treebd62e7810278b63d1bbe3c09ce77316b3e6f827f
parent0b7b8704ddcee372099a2bc6781db6ab273a85d5
mm: move FOLL_* defs to mm_types.h

Move FOLL_* definitions to linux/mm_types.h to make them more accessible
without having to drag in all of linux/mm.h and everything that drags in
too[1].

Link: https://lkml.kernel.org/r/2161258.1671657894@warthog.procyon.org.uk
Signed-off-by: David Howells <dhowells@redhat.com>
Suggested-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h
include/linux/mm_types.h