Displaying 1 result from an estimated 1 matches for "irq_noprobe".
2008 Oct 02
0
[PATCH] linux: restrict IRQ probing
...n_register_pirq(int irq)
 {
+	struct irq_desc *desc;
+	unsigned long flags;
+
 	irq_info[irq] = mk_irq_info(IRQT_PIRQ, irq, 0);
+
+	/* Cannot call set_irq_probe(), as that''s marked __init. */
+	desc = irq_desc + irq;
+	spin_lock_irqsave(&desc->lock, flags);
+	desc->status &= ~IRQ_NOPROBE;
+	spin_unlock_irqrestore(&desc->lock, flags);
 }
 
 #if defined(CONFIG_X86_IO_APIC)
@@ -1177,7 +1186,7 @@ void __init xen_init_IRQ(void)
 	for (i = DYNIRQ_BASE; i < (DYNIRQ_BASE + NR_DYNIRQS); i++) {
 		irq_bindcount[i] = 0;
 
-		irq_desc[i].status = IRQ_DISABLED;
+		irq_desc[i].status =...