mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xen: IRQ: Add dev_id parameter to release_irq
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>
This commit is contained in:
1 parent
ebb398b771
commit
df3f46b6cd
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||