Эх сурвалжийг харах

headers: taskstats_kern.h trim

Remove net/genetlink.h inclusion, now sched.c won't be recompiled
because of some networking changes.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Alexey Dobriyan 16 жил өмнө
parent
commit
6952b61de9

+ 0 - 1
include/linux/delayacct.h

@@ -18,7 +18,6 @@
 #define _LINUX_DELAYACCT_H
 #define _LINUX_DELAYACCT_H
 
 
 #include <linux/sched.h>
 #include <linux/sched.h>
-#include <linux/taskstats_kern.h>
 
 
 /*
 /*
  * Per-task flags relevant to delay accounting
  * Per-task flags relevant to delay accounting

+ 0 - 1
include/linux/taskstats_kern.h

@@ -9,7 +9,6 @@
 
 
 #include <linux/taskstats.h>
 #include <linux/taskstats.h>
 #include <linux/sched.h>
 #include <linux/sched.h>
-#include <net/genetlink.h>
 
 
 #ifdef CONFIG_TASKSTATS
 #ifdef CONFIG_TASKSTATS
 extern struct kmem_cache *taskstats_cache;
 extern struct kmem_cache *taskstats_cache;

+ 1 - 0
kernel/delayacct.c

@@ -15,6 +15,7 @@
 
 
 #include <linux/sched.h>
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/slab.h>
+#include <linux/taskstats.h>
 #include <linux/time.h>
 #include <linux/time.h>
 #include <linux/sysctl.h>
 #include <linux/sysctl.h>
 #include <linux/delayacct.h>
 #include <linux/delayacct.h>

+ 1 - 0
mm/memory.c

@@ -56,6 +56,7 @@
 #include <linux/swapops.h>
 #include <linux/swapops.h>
 #include <linux/elf.h>
 #include <linux/elf.h>
 
 
+#include <asm/io.h>
 #include <asm/pgalloc.h>
 #include <asm/pgalloc.h>
 #include <asm/uaccess.h>
 #include <asm/uaccess.h>
 #include <asm/tlb.h>
 #include <asm/tlb.h>