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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/vm/page_retire.c
          +++ new/usr/src/uts/common/vm/page_retire.c
↓ open down ↓ 871 lines elided ↑ open up ↑
 872  872   *   - Initialize locks.
 873  873   *   - Build the retired_pages vnode.
 874  874   *   - Set up the kstats.
 875  875   *   - Fire off the background thread.
 876  876   *   - Tell page_retire() it's OK to start retiring pages.
 877  877   */
 878  878  void
 879  879  page_retire_init(void)
 880  880  {
 881  881          const fs_operation_def_t retired_vnodeops_template[] = {
 882      -                { NULL, NULL }
      882 +                { NULL, {NULL} }
 883  883          };
 884  884          struct vnodeops *vops;
 885  885          kstat_t *ksp;
 886  886  
 887  887          const uint_t page_retire_ndata =
 888  888              sizeof (page_retire_kstat) / sizeof (kstat_named_t);
 889  889  
 890  890          ASSERT(page_retire_ksp == NULL);
 891  891  
 892  892          if (max_pages_retired_bps <= 0) {
↓ open down ↓ 409 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX