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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/os/machdep.c
          +++ new/usr/src/uts/i86pc/os/machdep.c
↓ open down ↓ 1388 lines elided ↑ open up ↑
1389 1389  
1390 1390          return (0);
1391 1391  }
1392 1392  
1393 1393  /*
1394 1394   * We need to post a soft interrupt to reprogram the lbolt cyclic when
1395 1395   * switching from event to cyclic driven lbolt. The following code adds
1396 1396   * and posts the softint for x86.
1397 1397   */
1398 1398  static ddi_softint_hdl_impl_t lbolt_softint_hdl =
1399      -        {0, NULL, NULL, NULL, 0, NULL, NULL, NULL};
     1399 +        {NULL, 0, {{NULL}}, NULL, NULL, NULL, NULL, NULL};
1400 1400  
1401 1401  void
1402 1402  lbolt_softint_add(void)
1403 1403  {
1404 1404          (void) add_avsoftintr((void *)&lbolt_softint_hdl, LOCK_LEVEL,
1405 1405              (avfunc)lbolt_ev_to_cyclic, "lbolt_ev_to_cyclic", NULL, NULL);
1406 1406  }
1407 1407  
1408 1408  void
1409 1409  lbolt_softint_post(void)
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX