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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4/os/intr.c
          +++ new/usr/src/uts/sun4/os/intr.c
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  #include <sys/cmn_err.h>
  40   40  #include <sys/privregs.h>
  41   41  #include <sys/systm.h>
  42   42  #include <sys/archsystm.h>
  43   43  #include <sys/machsystm.h>
  44   44  #include <sys/x_call.h>
  45   45  #include <vm/seg_kp.h>
  46   46  #include <sys/debug.h>
  47   47  #include <sys/cyclic.h>
  48   48  #include <sys/kdi_impl.h>
  49      -#include <sys/ddi_timer.h>
       49 +#include <sys/ddi_periodic.h>
  50   50  
  51   51  #include <sys/cpu_sgnblk_defs.h>
  52   52  
  53   53  /* Global locks which protect the interrupt distribution lists */
  54   54  static kmutex_t intr_dist_lock;
  55   55  static kmutex_t intr_dist_cpu_lock;
  56   56  
  57   57  /* Head of the interrupt distribution lists */
  58   58  static struct intr_dist *intr_dist_head = NULL;
  59   59  static struct intr_dist *intr_dist_whead = NULL;
↓ open down ↓ 814 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX