Skip to content

Commit e77d3b0

Browse files
committed
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull irq fix from Thomas Gleixner: "Fix for an off by one error in a cpumask result comparison" * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: genirq: Fix cpumask check in __irq_startup_managed()
2 parents c44d1ac + 9cb067e commit e77d3b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/irq/chip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ __irq_startup_managed(struct irq_desc *desc, struct cpumask *aff, bool force)
202202

203203
irqd_clr_managed_shutdown(d);
204204

205-
if (cpumask_any_and(aff, cpu_online_mask) > nr_cpu_ids) {
205+
if (cpumask_any_and(aff, cpu_online_mask) >= nr_cpu_ids) {
206206
/*
207207
* Catch code which fiddles with enable_irq() on a managed
208208
* and potentially shutdown IRQ. Chained interrupt

0 commit comments

Comments
 (0)