aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-11-30 21:32:40 +0100
committerIngo Molnar <mingo@kernel.org>2022-03-15 12:57:39 +0100
commitb85628b17ae74a08ce044281cfc2a3eaeef0a60e (patch)
tree7739a3da0ca3df488bfba41f857348c11176ede3
parent87ac071f4b53471911ab4c2bc618e61dcd3955df (diff)
downloadtip-b85628b17ae74a08ce044281cfc2a3eaeef0a60e.tar.gz
headers/deps: mm/balloon_compaction: Optimize <linux/.h> dependencies, remove <linux/pagemap.h> inclusion
-------------------------------------------------------------------- | Combined, preprocessed C code size of header, without line markers, | with comments stripped: ------------------------- before: | #include <linux/balloon_compaction.h> | LOC: 21,793 | headers: 434 after: | #include <linux/balloon_compaction.h> | LOC: 19,833 | headers: 411 Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--include/linux/balloon_compaction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/balloon_compaction.h b/include/linux/balloon_compaction.h
index 338aa27e4773b5..24608720e95087 100644
--- a/include/linux/balloon_compaction.h
+++ b/include/linux/balloon_compaction.h
@@ -36,7 +36,8 @@
*/
#ifndef _LINUX_BALLOON_COMPACTION_H
#define _LINUX_BALLOON_COMPACTION_H
-#include <linux/pagemap.h>
+
+#include <linux/atomic_api.h>
#include <linux/page-flags.h>
#include <linux/migrate.h>
#include <linux/gfp.h>