mm_types_task.h: Trim dependencies
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 11 Dec 2023 19:15:35 +0000 (14:15 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 21 Dec 2023 00:26:31 +0000 (19:26 -0500)
more sched.h header dependency trimming

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
include/linux/mm_types_task.h

index aa44fff8bb9da2046995d5603ec3f54bc1a1e847..a2f6179b672b83ded2e7f64c38accd51a860e57f 100644 (file)
@@ -9,9 +9,6 @@
  */
 
 #include <linux/types.h>
-#include <linux/threads.h>
-#include <linux/atomic.h>
-#include <linux/cpumask.h>
 
 #include <asm/page.h>
 
@@ -36,6 +33,8 @@ enum {
        NR_MM_COUNTERS
 };
 
+struct page;
+
 struct page_frag {
        struct page *page;
 #if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536)