diff options
| author | Luigi Rizzo <luigi@FreeBSD.org> | 2002-03-09 08:02:52 +0000 |
|---|---|---|
| committer | Luigi Rizzo <luigi@FreeBSD.org> | 2002-03-09 08:02:52 +0000 |
| commit | 2dbd9d5bc311751e996315557c4a171dee13cdc9 (patch) | |
| tree | 93461538f7237a334296d68e7157251a19ccb3d0 /sys/kern/kern_poll.c | |
| parent | 6b663fd6740773fc93823494c06168265a5ff4a6 (diff) | |
Notes
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 3fc49305bb43..4101cdf3a80e 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"); |
