Skip to content

Commit 25493e5

Browse files
sergey-senozhatskypmladek
authored andcommitted
sched/autogroup: move sched.h include
Move local "sched.h" include to the bottom. sched.h defines several macros that are getting redefined in ARCH-specific code, for instance, finish_arch_post_lock_switch() and prepare_arch_switch(), so we need ARCH-specific definitions to come in first. Link: http://lkml.kernel.org/r/[email protected] To: Martin Schwidefsky <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: LKML <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Suggested-by: Martin Schwidefsky <[email protected]> Signed-off-by: Sergey Senozhatsky <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
1 parent 79ee842 commit 25493e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/sched/autogroup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
#include "sched.h"
3-
42
#include <linux/proc_fs.h>
53
#include <linux/seq_file.h>
64
#include <linux/utsname.h>
75
#include <linux/security.h>
86
#include <linux/export.h>
97

8+
#include "sched.h"
9+
1010
unsigned int __read_mostly sysctl_sched_autogroup_enabled = 1;
1111
static struct autogroup autogroup_default;
1212
static atomic_t autogroup_seq_nr;

0 commit comments

Comments
 (0)