summaryrefslogtreecommitdiff
path: root/patches/sched-rt-mutex-wakeup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/sched-rt-mutex-wakeup.patch')
-rw-r--r--patches/sched-rt-mutex-wakeup.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/sched-rt-mutex-wakeup.patch b/patches/sched-rt-mutex-wakeup.patch
index 16a715a4f9e4..1c303e10aaf7 100644
--- a/patches/sched-rt-mutex-wakeup.patch
+++ b/patches/sched-rt-mutex-wakeup.patch
@@ -26,7 +26,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
/*
* This begins the randomizable portion of task_struct. Only
-@@ -1611,6 +1613,7 @@ extern struct task_struct *find_get_task
+@@ -1603,6 +1605,7 @@ extern struct task_struct *find_get_task
extern int wake_up_state(struct task_struct *tsk, unsigned int state);
extern int wake_up_process(struct task_struct *tsk);
@@ -36,7 +36,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
#ifdef CONFIG_SMP
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
-@@ -2023,8 +2023,27 @@ try_to_wake_up(struct task_struct *p, un
+@@ -1998,8 +1998,27 @@ try_to_wake_up(struct task_struct *p, un
*/
raw_spin_lock_irqsave(&p->pi_lock, flags);
smp_mb__after_spinlock();
@@ -65,7 +65,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
trace_sched_waking(p);
-@@ -2188,6 +2207,18 @@ int wake_up_process(struct task_struct *
+@@ -2163,6 +2182,18 @@ int wake_up_process(struct task_struct *
}
EXPORT_SYMBOL(wake_up_process);
@@ -86,7 +86,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
return try_to_wake_up(p, state, 0);
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
-@@ -1418,6 +1418,7 @@ static inline int task_on_rq_migrating(s
+@@ -1446,6 +1446,7 @@ static inline int task_on_rq_migrating(s
#define WF_SYNC 0x01 /* Waker goes to sleep after wakeup */
#define WF_FORK 0x02 /* Child wakeup after fork */
#define WF_MIGRATED 0x4 /* Internal use, task got migrated */