Displaying 1 result from an estimated 1 matches for "dynirq_chip".
2008 Oct 02
0
[PATCH] linux: restrict IRQ probing
.../xen/core/evtchn.c
===================================================================
--- head-2008-10-01.orig/drivers/xen/core/evtchn.c 2008-09-17 14:06:19.000000000 +0200
+++ 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-&...