summaryrefslogtreecommitdiff
path: root/sys/dev/pv/xen.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-01-25 15:22:57 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-01-25 15:22:57 +0000
commit467761a92ba0bfbc32cdfb149b39d1d9cf172457 (patch)
tree8fc030d1c7f420066a6fda9adf463ce102469987 /sys/dev/pv/xen.c
parent5bdfb57325d30a92040d4a666a895ff8763066ba (diff)
Don't count the total number of Xen upcalls
Diffstat (limited to 'sys/dev/pv/xen.c')
-rw-r--r--sys/dev/pv/xen.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pv/xen.c b/sys/dev/pv/xen.c
index 99ea6c09ab4..209b1ab6035 100644
--- a/sys/dev/pv/xen.c
+++ b/sys/dev/pv/xen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xen.c,v 1.34 2016/01/23 15:19:02 jsg Exp $ */
+/* $OpenBSD: xen.c,v 1.35 2016/01/25 15:22:56 mikeb Exp $ */
/*
* Copyright (c) 2015 Mike Belopuhov
@@ -471,7 +471,6 @@ xen_init_interrupts(struct xen_softc *sc)
int i;
sc->sc_irq = LAPIC_XEN_VECTOR;
- evcount_attach(&sc->sc_evcnt, sc->sc_dev.dv_xname, &sc->sc_irq);
/*
* Clear all pending events and mask all interrupts
@@ -536,8 +535,6 @@ xen_intr(void)
ulong pending, selector;
int port, bit, row;
- sc->sc_evcnt.ec_count++;
-
v->evtchn_upcall_pending = 0;
selector = atomic_swap_ulong(&v->evtchn_pending_sel, 0);