mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 13:43:55 +08:00
sched/headers: Remove <linux/sched.h> from <linux/sched/autogroup.h>
The <linux/sched/autogroup.h> file is a largely self-contained header and users of it either don't need <linux/sched.h> - 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 <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
5a2d6880f4
commit
5fd73157bd
@ -1,9 +1,8 @@
|
||||
#ifndef _LINUX_SCHED_AUTOGROUP_H
|
||||
#define _LINUX_SCHED_AUTOGROUP_H
|
||||
|
||||
#include <linux/sched.h>
|
||||
|
||||
struct signal_struct;
|
||||
struct task_struct;
|
||||
struct task_group;
|
||||
struct seq_file;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user