diff --git a/include/linux/sched.h b/include/linux/sched.h index 5a4fbc76feb4fd9aa4dbfd6817217f9ded992114..ac0fed4c31307faf7c67ac0ca791ad91b27155ef 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -31,6 +31,8 @@ #include <linux/magic.h> #include <linux/cgroup-defs.h> +#include <asm/current.h> + struct sched_attr; struct sched_param; @@ -1577,8 +1579,6 @@ extern struct task_struct *find_task_by_vpid(pid_t nr); extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns); -#include <asm/current.h> - extern int wake_up_state(struct task_struct *tsk, unsigned int state); extern int wake_up_process(struct task_struct *tsk); extern void wake_up_new_task(struct task_struct *tsk);