diff options
author | Ingo Molnar <mingo@kernel.org> | 2021-09-15 15:53:15 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-03-15 12:57:30 +0100 |
commit | bf9c1779fc40ec2c650336fa6debbf2a603e8e94 (patch) | |
tree | c2ef3dbb79adb30e6ced605a9abcf6ec0826e42b | |
parent | 51a02cc734c3375f3bebde17e94ded7fcff4d6b9 (diff) | |
download | tip-bf9c1779fc40ec2c650336fa6debbf2a603e8e94.tar.gz |
headers/deps: mm: Optimize <linux/mm_api.h> dependencies, remove <linux/irqflags.h> inclusion
--------------------------------------------------------------------
| Combined, preprocessed C code size of header, without line markers,
| with comments stripped:
-------------------------
before: | #include <linux/mm_api.h> | LOC: 10,530 | headers: 286
after: | #include <linux/mm_api.h> | LOC: 9,442 | headers: 253
Fix up dangling dependencies.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | include/linux/mm_api.h | 1 | ||||
-rw-r--r-- | include/linux/vmstat.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm_api.h b/include/linux/mm_api.h index 696b1dddda88f5..8bb332d0a1970e 100644 --- a/include/linux/mm_api.h +++ b/include/linux/mm_api.h @@ -9,7 +9,6 @@ #include <linux/auxvec.h> #include <linux/list.h> #include <linux/spinlock.h> -#include <linux/irqflags.h> #include <linux/rbtree.h> #include <linux/rwsem.h> #include <linux/completion.h> diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index a5a95a9f58d81b..8152768cda141d 100644 --- a/include/linux/vmstat.h +++ b/include/linux/vmstat.h @@ -2,6 +2,7 @@ #ifndef _LINUX_VMSTAT_H #define _LINUX_VMSTAT_H +#include <linux/irqflags.h> #include <linux/preempt.h> #include <linux/cpumask_api.h> #include <linux/mm_api.h> |