From: Ingo Molnar <mingo@kernel.org> Date: Wed, 1 Feb 2017 15:36:40 +0000 (+0100) Subject: sched/headers: Remove <linux/sched.h> from <linux/sched/clock.h> X-Git-Tag: v4.11-rc1~18^2~33 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ea94763950e49d1aa622c59218ee2fc3b434ba6b;p=users%2Fdwmw2%2Flinux.git sched/headers: Remove <linux/sched.h> from <linux/sched/clock.h> The <linux/sched/clock.h> file is a largely self-contained header and users of it either don't need <linux/sched.h> - or have already included it. This reduces the size of the header dependency graph. 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> --- diff --git a/include/linux/sched/clock.h b/include/linux/sched/clock.h index ac12f71d359cd..4a68c67912078 100644 --- a/include/linux/sched/clock.h +++ b/include/linux/sched/clock.h @@ -1,7 +1,7 @@ #ifndef _LINUX_SCHED_CLOCK_H #define _LINUX_SCHED_CLOCK_H -#include <linux/sched.h> +#include <linux/smp.h> /* * Do not use outside of architecture code which knows its limitations.