diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-05-19 19:21:25 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-05-19 19:21:25 +0000 |
commit | 9c1bc4181364fdb53d05e7d88a4e010cda4084db (patch) | |
tree | 7eb725e62a41a12005dfc6afdb05ff468080d4f9 /sys/kern/kern_poll.c | |
parent | d72799b6d947c5f4865b9c701ad67b9d7a579de9 (diff) | |
download | FreeBSD-src-9c1bc4181364fdb53d05e7d88a4e010cda4084db.zip FreeBSD-src-9c1bc4181364fdb53d05e7d88a4e010cda4084db.tar.gz |
With SMPng, DEVICE_POLLING uses its own idle threads, rather than the
system idle loop, to run ether_poll(), so make ether_poll() static.
MFC after: 1 week
Diffstat (limited to 'sys/kern/kern_poll.c')
-rw-r--r-- | sys/kern/kern_poll.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c index 8ca6b93..2952a88 100644 --- a/sys/kern/kern_poll.c +++ b/sys/kern/kern_poll.c @@ -53,7 +53,6 @@ static void netisr_pollmore(void); static int poll_switch(SYSCTL_HANDLER_ARGS); void hardclock_device_poll(void); /* hook from hardclock */ -void ether_poll(int); /* polling in idle loop */ static struct mtx poll_mtx; @@ -325,7 +324,7 @@ hardclock_device_poll(void) /* * ether_poll is called from the idle loop. */ -void +static void ether_poll(int count) { int i; |