Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2009 19:21:25 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192404 - head/sys/kern
Message-ID:  <200905191921.n4JJLPS7007545@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905191921.n4JJLPS7007545>