svn commit: r192404 - head/sys/kern

Robert Watson rwatson at FreeBSD.org
Tue May 19 19:21:25 UTC 2009


Author: rwatson
Date: Tue May 19 19:21:25 2009
New Revision: 192404
URL: http://svn.freebsd.org/changeset/base/192404

Log:
  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

Modified:
  head/sys/kern/kern_poll.c

Modified: head/sys/kern/kern_poll.c
==============================================================================
--- head/sys/kern/kern_poll.c	Tue May 19 18:48:10 2009	(r192403)
+++ head/sys/kern/kern_poll.c	Tue May 19 19:21:25 2009	(r192404)
@@ -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;


More information about the svn-src-all mailing list