tegrakernel/kernel/kernel-4.9/rt-patches/0123-sched-deadline-dl_task...

29 lines
839 B
Diff
Raw Normal View History

2022-02-16 09:13:02 -06:00
From d5aa7d2cfafb464b82ec488ca189813324c2e8ef Mon Sep 17 00:00:00 2001
From: Juri Lelli <juri.lelli@gmail.com>
Date: Tue, 13 May 2014 15:30:20 +0200
Subject: [PATCH 123/365] sched/deadline: dl_task_timer has to be irqsafe
As for rt_period_timer, dl_task_timer has to be irqsafe.
Signed-off-by: Juri Lelli <juri.lelli@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
kernel/sched/deadline.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index d46449014e88..cff53a3bd4d1 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -774,6 +774,7 @@ void init_dl_task_timer(struct sched_dl_entity *dl_se)
hrtimer_init(timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
timer->function = dl_task_timer;
+ timer->irqsafe = 1;
}
/*
--
2.28.0