diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2009-05-19 19:21:25 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2009-05-19 19:21:25 +0000 |
commit | 56a3c6d4a7dfb67517b805ed1279b2e1f5fc1dd7 (patch) | |
tree | 7eb725e62a41a12005dfc6afdb05ff468080d4f9 /sys/kern/kern_poll.c | |
parent | 3f51a182296b28d484ce0aefbc168e45e7d55912 (diff) | |
download | src-56a3c6d4a7dfb67517b805ed1279b2e1f5fc1dd7.tar.gz src-56a3c6d4a7dfb67517b805ed1279b2e1f5fc1dd7.zip |
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
Notes
Notes:
svn path=/head/; revision=192404
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 8ca6b93fac92..2952a88995a6 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; |