]> git.ipfire.org Git - people/arne_f/kernel.git/commitdiff
sched/headers: Remove <linux/cgroup-defs.h> from <linux/sched.h>
authorIngo Molnar <mingo@kernel.org>
Thu, 2 Feb 2017 10:54:05 +0000 (11:54 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:31 +0000 (01:45 +0100)
It's not used by anything in <linux/sched.h> anymore.

This reduces the preprocessed size of <linux/sched.h> and
speeds up the build a bit.

Also fix code that implicitly relied on headers included by <linux/cgroup-defs.h>.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
include/target/target_core_base.h

index 54eefb2ad603fc73ee8a7f43cabddba631a1d06c..8991e4d7cd0fc976a786c1f0c557922c26521a5a 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/gfp.h>
 #include <linux/topology.h>
 #include <linux/magic.h>
-#include <linux/cgroup-defs.h>
 
 #include <asm/current.h>
 
index 8be9ba73383d52eba83cc50d7bb55451eb9589b3..774c29b57e82fd1b10897eac0091275998368a26 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/configfs.h>      /* struct config_group */
 #include <linux/dma-direction.h> /* enum dma_data_direction */
 #include <linux/percpu_ida.h>    /* struct percpu_ida */
+#include <linux/percpu-refcount.h>
 #include <linux/semaphore.h>     /* struct semaphore */
 #include <linux/completion.h>