summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_poll.c')
-rw-r--r--sys/kern/kern_poll.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c
index 95d6e41..64fa7af 100644
--- a/sys/kern/kern_poll.c
+++ b/sys/kern/kern_poll.c
@@ -262,10 +262,8 @@ init_device_poll(void)
{
mtx_init(&poll_mtx, "polling", NULL, MTX_DEF);
- netisr_register(NETISR_POLL, (netisr_t *)netisr_poll, NULL,
- NETISR_MPSAFE);
- netisr_register(NETISR_POLLMORE, (netisr_t *)netisr_pollmore, NULL,
- NETISR_MPSAFE);
+ netisr_register(NETISR_POLL, (netisr_t *)netisr_poll, NULL, 0);
+ netisr_register(NETISR_POLLMORE, (netisr_t *)netisr_pollmore, NULL, 0);
}
SYSINIT(device_poll, SI_SUB_CLOCKS, SI_ORDER_MIDDLE, init_device_poll, NULL);
OpenPOWER on IntegriCloud