aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-11-26 23:31:11 +0100
committerIngo Molnar <mingo@kernel.org>2022-03-15 12:57:29 +0100
commit48ac084f54b5f33ec7a49dfe03db52251164b7d1 (patch)
treee29059c78c0ad8e237836a8e9d73b38bfbc431c7
parent663abf90c423fb2452daa30de2337b3fc580cc53 (diff)
downloadtip-48ac084f54b5f33ec7a49dfe03db52251164b7d1.tar.gz
headers/deps: mm: Optimize <linux/mm_api.h> dependencies, remove <linux/memremap.h>
-------------------------------------------------------------------- | Combined, preprocessed C code size of header, without line markers, | with comments stripped: ------------------------- before: | #include <linux/mm_api.h> | LOC: 11,748 | headers: 314 after: | #include <linux/mm_api.h> | LOC: 11,557 | headers: 312 Fix up dangling dependencies. Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--include/linux/mm_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm_api.h b/include/linux/mm_api.h
index f42e659a21e653..df273052167ba7 100644
--- a/include/linux/mm_api.h
+++ b/include/linux/mm_api.h
@@ -46,7 +46,6 @@
#include <linux/err.h>
#include <linux/page-flags.h>
#include <linux/page_ref.h>
-#include <linux/memremap.h>
#include <linux/overflow.h>
#include <linux/sizes.h>
#include <linux/pgtable_types.h>
@@ -58,6 +57,7 @@ extern void mm_init_cpumask(struct mm_struct *mm);
struct mempolicy;
struct anon_vma;
struct anon_vma_chain;
+struct vmem_altmap;
struct user_struct;
struct pt_regs;
struct task_struct;