.. | .. |
---|
1202 | 1202 | |
---|
1203 | 1203 | irq_thread_set_ready(desc, action); |
---|
1204 | 1204 | |
---|
1205 | | - sched_set_fifo(current); |
---|
1206 | | - |
---|
1207 | 1205 | if (force_irqthreads && test_bit(IRQTF_FORCED_THREAD, |
---|
1208 | 1206 | &action->thread_flags)) |
---|
1209 | 1207 | handler_fn = irq_forced_thread_fn; |
---|
.. | .. |
---|
1368 | 1366 | |
---|
1369 | 1367 | if (IS_ERR(t)) |
---|
1370 | 1368 | return PTR_ERR(t); |
---|
| 1369 | + |
---|
| 1370 | + sched_set_fifo(t); |
---|
1371 | 1371 | |
---|
1372 | 1372 | /* |
---|
1373 | 1373 | * We keep the reference to the task struct even if |
---|
.. | .. |
---|
2750 | 2750 | * This call sets the internal irqchip state of an interrupt, |
---|
2751 | 2751 | * depending on the value of @which. |
---|
2752 | 2752 | * |
---|
2753 | | - * This function should be called with migration disabled if the |
---|
| 2753 | + * This function should be called with preemption disabled if the |
---|
2754 | 2754 | * interrupt controller has per-cpu registers. |
---|
2755 | 2755 | */ |
---|
2756 | 2756 | int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which, |
---|