summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorTanzir Hasan <tanzirh@google.com>2023-12-21 23:11:01 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-12-29 11:58:57 -0800
commit1ae41dffd48a700f4bf69e5377f4311de7d92b78 (patch)
treead133b255c62f4ce05423df742d822f6f65281ea /mm
parente99fb98d478a0480d50e334df21bef12fb74e17f (diff)
downloadlinux-stable-1ae41dffd48a700f4bf69e5377f4311de7d92b78.tar.gz
linux-stable-1ae41dffd48a700f4bf69e5377f4311de7d92b78.tar.bz2
linux-stable-1ae41dffd48a700f4bf69e5377f4311de7d92b78.zip
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>
Diffstat (limited to 'mm')
-rw-r--r--mm/damon/vaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/damon/vaddr.c b/mm/damon/vaddr.c
index a67454b825dc..381559e4a1fa 100644
--- a/mm/damon/vaddr.c
+++ b/mm/damon/vaddr.c
@@ -7,9 +7,9 @@
#define pr_fmt(fmt) "damon-va: " fmt
-#include <asm-generic/mman-common.h>
#include <linux/highmem.h>
#include <linux/hugetlb.h>
+#include <linux/mman.h>
#include <linux/mmu_notifier.h>
#include <linux/page_idle.h>
#include <linux/pagewalk.h>