File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ static inline bool irq_needs_fixup(struct irq_data *d)
37
37
* has been removed from the online mask already.
38
38
*/
39
39
if (cpumask_any_but (m , cpu ) < nr_cpu_ids &&
40
- cpumask_any_and (m , cpu_online_mask ) >= nr_cpu_ids ) {
40
+ ! cpumask_intersects (m , cpu_online_mask )) {
41
41
/*
42
42
* If this happens then there was a missed IRQ fixup at some
43
43
* point. Warn about it and enforce fixup.
@@ -110,7 +110,7 @@ static bool migrate_one_irq(struct irq_desc *desc)
110
110
if (maskchip && chip -> irq_mask )
111
111
chip -> irq_mask (d );
112
112
113
- if (cpumask_any_and (affinity , cpu_online_mask ) >= nr_cpu_ids ) {
113
+ if (! cpumask_intersects (affinity , cpu_online_mask )) {
114
114
/*
115
115
* If the interrupt is managed, then shut it down and leave
116
116
* the affinity untouched.
You can’t perform that action at this time.
0 commit comments