summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-02 11:54:05 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-03 01:45:31 +0100
commitaa829c7679a13fca667f772db1f0ea03adc29122 (patch)
treed697f62f4fd51b40df6b862f07fd59059479b9af /include
parentac4e620967bb72f86371154935aa8b67cf54e225 (diff)
downloadlinux-aa829c7679a13fca667f772db1f0ea03adc29122.tar.bz2
sched/headers: Remove <linux/cgroup-defs.h> from <linux/sched.h>
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h1
-rw-r--r--include/target/target_core_base.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 54eefb2ad603..8991e4d7cd0f 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -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>
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 8be9ba73383d..774c29b57e82 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -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>