diff options
Diffstat (limited to 'sys/kern/kern_poll.c')
-rw-r--r-- | sys/kern/kern_poll.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c index 3fc4930..4101cdf 100644 --- a/sys/kern/kern_poll.c +++ b/sys/kern/kern_poll.c @@ -41,8 +41,10 @@ #include <sys/kthread.h> #ifdef SMP +#ifndef COMPILING_LINT #error DEVICE_POLLING is not compatible with SMP #endif +#endif static void netisr_poll(void); /* the two netisr handlers */ void netisr_pollmore(void); @@ -156,7 +158,7 @@ static int polling = 0; /* global polling enable */ SYSCTL_UINT(_kern_polling, OID_AUTO, enable, CTLFLAG_RW, &polling, 0, "Polling enabled"); -static volatile u_int32_t phase; +static u_int32_t phase; SYSCTL_UINT(_kern_polling, OID_AUTO, phase, CTLFLAG_RW, &phase, 0, "Polling phase"); @@ -164,7 +166,7 @@ static u_int32_t suspect; SYSCTL_UINT(_kern_polling, OID_AUTO, suspect, CTLFLAG_RW, &suspect, 0, "suspect event"); -static volatile u_int32_t stalled; +static u_int32_t stalled; SYSCTL_UINT(_kern_polling, OID_AUTO, stalled, CTLFLAG_RW, &stalled, 0, "potential stalls"); |