summaryrefslogtreecommitdiff
path: root/patches/sched-migrate_disable-fallback-to-preempt_disable-in.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/sched-migrate_disable-fallback-to-preempt_disable-in.patch')
-rw-r--r--patches/sched-migrate_disable-fallback-to-preempt_disable-in.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/patches/sched-migrate_disable-fallback-to-preempt_disable-in.patch b/patches/sched-migrate_disable-fallback-to-preempt_disable-in.patch
index 2d2120ec40c5..5dbfdae7e323 100644
--- a/patches/sched-migrate_disable-fallback-to-preempt_disable-in.patch
+++ b/patches/sched-migrate_disable-fallback-to-preempt_disable-in.patch
@@ -89,7 +89,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
#endif
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
-@@ -1053,7 +1053,7 @@ void set_cpus_allowed_common(struct task
+@@ -1030,7 +1030,7 @@ void set_cpus_allowed_common(struct task
p->nr_cpus_allowed = cpumask_weight(new_mask);
}
@@ -98,7 +98,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
int __migrate_disabled(struct task_struct *p)
{
return p->migrate_disable;
-@@ -1093,7 +1093,7 @@ static void __do_set_cpus_allowed_tail(s
+@@ -1070,7 +1070,7 @@ static void __do_set_cpus_allowed_tail(s
void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask)
{
@@ -107,7 +107,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
if (__migrate_disabled(p)) {
lockdep_assert_held(&p->pi_lock);
-@@ -1166,7 +1166,7 @@ static int __set_cpus_allowed_ptr(struct
+@@ -1143,7 +1143,7 @@ static int __set_cpus_allowed_ptr(struct
if (cpumask_test_cpu(task_cpu(p), new_mask) || __migrate_disabled(p))
goto out;
@@ -116,7 +116,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
if (__migrate_disabled(p)) {
p->migrate_disable_update = 1;
goto out;
-@@ -7181,7 +7181,7 @@ const u32 sched_prio_to_wmult[40] = {
+@@ -7158,7 +7158,7 @@ const u32 sched_prio_to_wmult[40] = {
#undef CREATE_TRACE_POINTS
@@ -125,7 +125,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
static inline void
update_nr_migratory(struct task_struct *p, long delta)
-@@ -7329,45 +7329,44 @@ EXPORT_SYMBOL(migrate_enable);
+@@ -7306,45 +7306,44 @@ EXPORT_SYMBOL(migrate_enable);
#elif !defined(CONFIG_SMP) && defined(CONFIG_PREEMPT_RT_BASE)
void migrate_disable(void)
{
@@ -180,7 +180,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
#endif
--- a/kernel/sched/debug.c
+++ b/kernel/sched/debug.c
-@@ -979,7 +979,7 @@ void proc_sched_show_task(struct task_st
+@@ -978,7 +978,7 @@ void proc_sched_show_task(struct task_st
P(dl.runtime);
P(dl.deadline);
}