Print this page
OS-2366 ddi_periodic_add(9F) is entirely rubbish

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/damap.c
          +++ new/usr/src/uts/common/os/damap.c
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  #include <sys/types.h>
  28   28  #include <sys/param.h>
  29   29  #include <sys/systm.h>
  30   30  #include <sys/buf.h>
  31   31  #include <sys/kmem.h>
  32   32  #include <sys/cmn_err.h>
  33   33  #include <sys/debug.h>
  34   34  #include <sys/sunndi.h>
  35   35  #include <sys/kstat.h>
  36   36  #include <sys/conf.h>
  37      -#include <sys/ddi_timer.h>
       37 +#include <sys/ddi_periodic.h>
  38   38  #include <sys/devctl.h>
  39   39  #include <sys/callb.h>
  40   40  #include <sys/sysevent.h>
  41   41  #include <sys/taskq.h>
  42   42  #include <sys/ddi.h>
  43   43  #include <sys/bitset.h>
  44   44  #include <sys/damap.h>
  45   45  #include <sys/damap_impl.h>
  46   46  
  47   47  #ifdef DEBUG
↓ open down ↓ 1684 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX