diff options
author | 2019-08-28 16:19:53 +0200 | |
---|---|---|
committer | 2019-09-07 04:28:04 -0300 | |
commit | a520110e4a15ceb385304d9cab22bb51438f6080 (patch) | |
tree | 8b5ae186c0b10b1906cd1ebebffe3203ec9f9f26 /mm/pagewalk.c | |
parent | mm/mmu_notifiers: annotate with might_sleep() (diff) | |
download | linux-a520110e4a15ceb385304d9cab22bb51438f6080.tar.gz linux-a520110e4a15ceb385304d9cab22bb51438f6080.tar.bz2 linux-a520110e4a15ceb385304d9cab22bb51438f6080.zip |
mm: split out a new pagewalk.h header from mm.h
Add a new header for the two handful of users of the walk_page_range /
walk_page_vma interface instead of polluting all users of mm.h with it.
Link: https://lore.kernel.org/r/20190828141955.22210-2-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'mm/pagewalk.c')
-rw-r--r-- | mm/pagewalk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/pagewalk.c b/mm/pagewalk.c index c3084ff2569d..8a92a961a2ee 100644 --- a/mm/pagewalk.c +++ b/mm/pagewalk.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include <linux/mm.h> +#include <linux/pagewalk.h> #include <linux/highmem.h> #include <linux/sched.h> #include <linux/hugetlb.h> |