[PATCH 34/50] mm_types_task.h: Trim dependencies

From: Kent Overstreet
Date: Fri Dec 15 2023 - 22:34:43 EST


more sched.h header dependency trimming

Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>
---
include/linux/mm_types_task.h | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/include/linux/mm_types_task.h b/include/linux/mm_types_task.h
index aa44fff8bb9d..724a731d5c2b 100644
--- a/include/linux/mm_types_task.h
+++ b/include/linux/mm_types_task.h
@@ -9,11 +9,6 @@
*/

#include <linux/types.h>
-#include <linux/threads.h>
-#include <linux/atomic.h>
-#include <linux/cpumask.h>
-
-#include <asm/page.h>

#ifdef CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH
#include <asm/tlbbatch.h>
@@ -36,6 +31,8 @@ enum {
NR_MM_COUNTERS
};

+struct page;
+
struct page_frag {
struct page *page;
#if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536)
--
2.43.0