Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/avintr.c
          +++ new/usr/src/uts/common/io/avintr.c
↓ open down ↓ 83 lines elided ↑ open up ↑
  84   84  struct autovec *nmivect = NULL;
  85   85  struct av_head autovect[MAX_VECT];
  86   86  struct av_head softvect[LOCK_LEVEL + 1];
  87   87  kmutex_t av_lock;
  88   88  /*
  89   89   * These are software interrupt handlers dedicated to ddi timer.
  90   90   * The interrupt levels up to 10 are supported, but high interrupts
  91   91   * must not be used there.
  92   92   */
  93   93  ddi_softint_hdl_impl_t softlevel_hdl[DDI_IPL_10] = {
  94      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL}, /* level 1 */
  95      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL}, /* level 2 */
  96      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL}, /* level 3 */
  97      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL}, /* level 4 */
  98      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL}, /* level 5 */
  99      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL}, /* level 6 */
 100      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL}, /* level 7 */
 101      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL}, /* level 8 */
 102      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL}, /* level 9 */
 103      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL}, /* level 10 */
       94 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL}, /* level 1 */
       95 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL}, /* level 2 */
       96 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL}, /* level 3 */
       97 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL}, /* level 4 */
       98 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL}, /* level 5 */
       99 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL}, /* level 6 */
      100 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL}, /* level 7 */
      101 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL}, /* level 8 */
      102 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL}, /* level 9 */
      103 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL}, /* level 10 */
 104  104  };
 105  105  ddi_softint_hdl_impl_t softlevel1_hdl =
 106      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL};
      106 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL};
 107  107  
 108  108  /*
 109  109   * clear/check softint pending flag corresponding for
 110  110   * the current CPU
 111  111   */
 112  112  void
 113  113  av_clear_softint_pending(av_softinfo_t *infop)
 114  114  {
 115  115          CPUSET_ATOMIC_DEL(infop->av_pending, CPU->cpu_seqid);
 116  116  }
↓ open down ↓ 670 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX