Skip to content

Commit aa829c7

Browse files
committed
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>
1 parent ac4e620 commit aa829c7

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/sched.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <linux/gfp.h>
2929
#include <linux/topology.h>
3030
#include <linux/magic.h>
31-
#include <linux/cgroup-defs.h>
3231

3332
#include <asm/current.h>
3433

‎include/target/target_core_base.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <linux/configfs.h> /* struct config_group */
55
#include <linux/dma-direction.h> /* enum dma_data_direction */
66
#include <linux/percpu_ida.h> /* struct percpu_ida */
7+
#include <linux/percpu-refcount.h>
78
#include <linux/semaphore.h> /* struct semaphore */
89
#include <linux/completion.h>
910

0 commit comments

Comments
 (0)