diff options
| author | Elliott Mitchell <ehem+freebsd@m5p.com> | 2021-04-21 14:05:11 +0000 |
|---|---|---|
| committer | Roger Pau Monné <royger@FreeBSD.org> | 2023-04-14 13:58:52 +0000 |
| commit | af610cabf1f4ae3129596d8f37a2ed70e142d057 (patch) | |
| tree | 3b3e1a0612946de93d1bb0130f3acaec40a91df8 /sys/dev/xen/xenpci | |
| parent | 2794893ebff0c0cab62692fdf07b8632bcfe4d35 (diff) | |
Diffstat (limited to 'sys/dev/xen/xenpci')
| -rw-r--r-- | sys/dev/xen/xenpci/xenpci.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/xen/xenpci/xenpci.c b/sys/dev/xen/xenpci/xenpci.c index ca54b691b8ad..7dd69688a00e 100644 --- a/sys/dev/xen/xenpci/xenpci.c +++ b/sys/dev/xen/xenpci/xenpci.c @@ -53,20 +53,13 @@ __FBSDID("$FreeBSD$"); #include <dev/xen/xenpci/xenpcivar.h> static int -xenpci_intr_filter(void *trap_frame) -{ - xen_intr_handle_upcall(trap_frame); - return (FILTER_HANDLED); -} - -static int xenpci_irq_init(device_t device, struct xenpci_softc *scp) { int error; error = BUS_SETUP_INTR(device_get_parent(device), device, scp->res_irq, INTR_MPSAFE|INTR_TYPE_MISC, - xenpci_intr_filter, NULL, /*trap_frame*/NULL, + xen_intr_handle_upcall, NULL, NULL, &scp->intr_cookie); if (error) return error; |
