]> xenbits.xensource.com Git - xen.git/commitdiff
xen: IRQ: Add dev_id parameter to release_irq
authorJulien Grall <julien.grall@linaro.org>
Fri, 16 May 2014 14:40:30 +0000 (15:40 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 21 May 2014 11:48:01 +0000 (12:48 +0100)
The new parameter (dev_id) will be used in on ARM to release the right
action when support for multiple action is added.

Even if this function is declared in common code, no one is using it. So it's
safe to modify the prototype also for x86.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/irq.c
xen/arch/x86/irq.c
xen/include/xen/irq.h

index fa35e0dbf981c6e08c3c3759a80518e32800bfdc..24eca0a3736dd0ebebfd951a9cd6f0621f7d14de 100644 (file)
@@ -232,7 +232,7 @@ out_no_end:
     irq_exit();
 }
 
-void release_irq(unsigned int irq)
+void release_irq(unsigned int irq, const void *dev_id)
 {
     struct irq_desc *desc;
     unsigned long flags;
index 5b5b16955cef1cdb318cbb50951f9e51b57e82c8..727472dad1816a3a85a5879f174539cebc970a16 100644 (file)
@@ -983,7 +983,7 @@ int __init request_irq(unsigned int irq,
     return retval;
 }
 
-void __init release_irq(unsigned int irq)
+void __init release_irq(unsigned int irq, const void *dev_id)
 {
     struct irq_desc *desc;
     unsigned long flags;
index f2e62158ff0bedbb2db6bf2a1557e7045a34eb9d..1f8bdb3782105c5426a9923e9124cd7eaf09daa5 100644 (file)
@@ -90,7 +90,7 @@ int arch_init_one_irq_desc(struct irq_desc *);
 #define irq_desc_initialized(desc) ((desc)->handler != NULL)
 
 extern int setup_irq(unsigned int irq, struct irqaction *);
-extern void release_irq(unsigned int irq);
+extern void release_irq(unsigned int irq, const void *dev_id);
 extern int request_irq(unsigned int irq,
                void (*handler)(int, void *, struct cpu_user_regs *),
                const char * devname, void *dev_id);