Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mm/damon/vaddr: change asm-generic/mman-common.h to linux/mman.h

asm-generic/mman-common.h can be replaced by linux/mman.h and the file
will still build correctly. It is an asm-generic file which should be
avoided if possible.

Link: https://lkml.kernel.org/r/20231221-asmgenericvaddr-v1-1-742b170c914e@google.com
Fixes: 6dea8add4d28 ("mm/damon/vaddr: support DAMON-based Operation Schemes")
Signed-off-by: Tanzir Hasan <tanzirh@google.com>
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Tanzir Hasan and committed by
Andrew Morton
1ae41dff e99fb98d

+1 -1
+1 -1
mm/damon/vaddr.c
··· 7 7 8 8 #define pr_fmt(fmt) "damon-va: " fmt 9 9 10 - #include <asm-generic/mman-common.h> 11 10 #include <linux/highmem.h> 12 11 #include <linux/hugetlb.h> 12 + #include <linux/mman.h> 13 13 #include <linux/mmu_notifier.h> 14 14 #include <linux/page_idle.h> 15 15 #include <linux/pagewalk.h>