]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
xen/intr: unmask the event channel when we have added a new handler
authorJulien Grall <julien.grall@linaro.org>
Tue, 24 Jun 2014 16:43:57 +0000 (17:43 +0100)
committerJulien Grall <julien.grall@citrix.com>
Mon, 2 Nov 2015 11:46:55 +0000 (11:46 +0000)
sys/xen/xen_intr.c

index 8063c10b612568d3690f0fccc0f68593b2611c92..caef909cb775b26292674b60c44d99c126959469 100644 (file)
@@ -1533,6 +1533,11 @@ xen_intr_add_handler(device_t dev, driver_filter_t filter,
                    error);
        }
 
+       /* Unmask the event channel if the handler has been correctly added */
+       if (error == 0)
+               evtchn_unmask_port(isrc->xi_port);
+
+
        return (error);
 }