From: Ingo Molnar Date: Wed, 8 Feb 2017 17:51:54 +0000 (+0100) Subject: sched/headers: Remove from X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5fd73157bdfb57370b69be7c0067f08e610e7daa;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sched/headers: Remove from The file is a largely self-contained header and users of it either don't need - or have already included it. Add a 'task_struct' predeclaration to make it build standalone. This reduces the size of the header dependency graph. Acked-by: Linus Torvalds Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar --- diff --git a/include/linux/sched/autogroup.h b/include/linux/sched/autogroup.h index fd6855548d0c..55cd496df884 100644 --- a/include/linux/sched/autogroup.h +++ b/include/linux/sched/autogroup.h @@ -1,9 +1,8 @@ #ifndef _LINUX_SCHED_AUTOGROUP_H #define _LINUX_SCHED_AUTOGROUP_H -#include - struct signal_struct; +struct task_struct; struct task_group; struct seq_file;