hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/kernel/irq/manage.c
....@@ -1202,8 +1202,6 @@
12021202
12031203 irq_thread_set_ready(desc, action);
12041204
1205
- sched_set_fifo(current);
1206
-
12071205 if (force_irqthreads && test_bit(IRQTF_FORCED_THREAD,
12081206 &action->thread_flags))
12091207 handler_fn = irq_forced_thread_fn;
....@@ -1368,6 +1366,8 @@
13681366
13691367 if (IS_ERR(t))
13701368 return PTR_ERR(t);
1369
+
1370
+ sched_set_fifo(t);
13711371
13721372 /*
13731373 * We keep the reference to the task struct even if
....@@ -2750,7 +2750,7 @@
27502750 * This call sets the internal irqchip state of an interrupt,
27512751 * depending on the value of @which.
27522752 *
2753
- * This function should be called with migration disabled if the
2753
+ * This function should be called with preemption disabled if the
27542754 * interrupt controller has per-cpu registers.
27552755 */
27562756 int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which,