search for: set_irq_probe

Displaying 1 result from an estimated 1 matches for "set_irq_probe".

2008 Oct 02
0
[PATCH] linux: restrict IRQ probing
...+ head-2008-10-01/drivers/xen/core/evtchn.c 2008-10-02 16:52:17.000000000 +0200 @@ -784,7 +784,16 @@ static struct irq_chip dynirq_chip = { void evtchn_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) f...