Chris reported that the recent affinity management changes result in overwriting the already initialized thread flags. Use set_bit() to set the affinity bit instead of assigning the bit value to the flags.
Unified · Split
| @@ -1414,7 +1414,7 @@ setup_irq_thread(struct irqaction *new, unsigned int irq, bool secondary) · 1413 unmodified lines | |||
| 1414 | * Ensure the thread adjusts the affinity once it reaches the | 1414 | * Ensure the thread adjusts the affinity once it reaches the |
| 1415 | * thread function. | 1415 | * thread function. |
| 1416 | */ | 1416 | */ |
| 1417 | new->thread_flags = BIT(IRQTF_AFFINITY); | 1417 | set_bit(IRQTF_AFFINITY, &new->thread_flags); |
| 1418 | 1418 | ||
| 1419 | return 0; | 1419 | return 0; |
| 1420 | } | 1420 | } |