projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf tools: Fix calloc() arguments to address error introduced in gcc-14
[platform/kernel/linux-rpi.git]
/
kernel
/
rcu
/
rcutorture.c
diff --git
a/kernel/rcu/rcutorture.c
b/kernel/rcu/rcutorture.c
index
ade42d6
..
eebb9b4
100644
(file)
--- a/
kernel/rcu/rcutorture.c
+++ b/
kernel/rcu/rcutorture.c
@@
-2408,6
+2408,12
@@
static int rcutorture_booster_init(unsigned int cpu)
WARN_ON_ONCE(!t);
sp.sched_priority = 2;
sched_setscheduler_nocheck(t, SCHED_FIFO, &sp);
WARN_ON_ONCE(!t);
sp.sched_priority = 2;
sched_setscheduler_nocheck(t, SCHED_FIFO, &sp);
+#ifdef CONFIG_PREEMPT_RT
+ t = per_cpu(timersd, cpu);
+ WARN_ON_ONCE(!t);
+ sp.sched_priority = 2;
+ sched_setscheduler_nocheck(t, SCHED_FIFO, &sp);
+#endif
}
/* Don't allow time recalculation while creating a new task. */
}
/* Don't allow time recalculation while creating a new task. */