aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/xen/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 0b27080b1918..a9c154d1d2ff 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -592,7 +592,7 @@ int xen_allocate_pirq(unsigned gsi, int shareable, char *name)
592 */ 592 */
593int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name) 593int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name)
594{ 594{
595 int irq = 0; 595 int irq = -1;
596 struct physdev_irq irq_op; 596 struct physdev_irq irq_op;
597 597
598 spin_lock(&irq_mapping_update_lock); 598 spin_lock(&irq_mapping_update_lock);