diff --git a/[refs] b/[refs] index 88ca02bc7b73..6c13ba5d18fe 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 89911501f3aae44a43984793341a3bf1f4c583c2 +refs/heads/master: 7214610475b2847a81478d96e4d3ba0bbe49598c diff --git a/trunk/drivers/xen/events.c b/trunk/drivers/xen/events.c index 06f2e61de691..accb37ad0944 100644 --- a/trunk/drivers/xen/events.c +++ b/trunk/drivers/xen/events.c @@ -434,6 +434,10 @@ static int xen_allocate_irq_gsi(unsigned gsi) static void xen_free_irq(unsigned irq) { + /* Legacy IRQ descriptors are managed by the arch. */ + if (irq < NR_IRQS_LEGACY) + return; + irq_free_desc(irq); }