Diff for /src/sys/kern/kern_poll.c between versions 1.9 and 1.10

version 1.9, 2004/04/09 22:34:09 version 1.10, 2004/04/11 05:14:47
Line 34 Line 34
 #include <sys/socket.h>                 /* needed by net/if.h           */  #include <sys/socket.h>                 /* needed by net/if.h           */
 #include <sys/sysctl.h>  #include <sys/sysctl.h>
   
   #include <sys/thread2.h>
   #include <sys/msgport2.h>
   
 #include <i386/include/md_var.h>        /* for vm_page_zero_idle()      */  #include <i386/include/md_var.h>        /* for vm_page_zero_idle()      */
 #include <net/if.h>                     /* for IFF_* flags              */  #include <net/if.h>                     /* for IFF_* flags              */
 #include <net/netisr.h>                 /* for NETISR_POLL              */  #include <net/netisr.h>                 /* for NETISR_POLL              */
Line 300  static struct timeval poll_start_t; Line 303  static struct timeval poll_start_t;
   
 /* ARGSUSED */  /* ARGSUSED */
 static void  static void
netisr_pollmore(struct netmsg *dummy __unused)netisr_pollmore(struct netmsg *msg)
 {  {
         struct timeval t;          struct timeval t;
         int kern_load;          int kern_load;
Line 352  out: Line 355  out:
  */   */
 /* ARGSUSED */  /* ARGSUSED */
 static void  static void
netisr_poll(struct netmsg *dummy __unused)netisr_poll(struct netmsg *msg)
 {  {
         static int reg_frac_count;          static int reg_frac_count;
         int i, cycles;          int i, cycles;

Removed from v.1.9  
changed lines
  Added in v.1.10