Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/vm/vm_machdep.c
          +++ new/usr/src/uts/i86pc/vm/vm_machdep.c
↓ open down ↓ 1613 lines elided ↑ open up ↑
1614 1614                  *flags |= PGI_MT_RANGE0;
1615 1615          }
1616 1616  #endif /* !__xpv */
1617 1617          return (mtype);
1618 1618  }
1619 1619  
1620 1620  
1621 1621  /* mtype init for page_get_replacement_page */
1622 1622  /*ARGSUSED*/
1623 1623  int
1624      -mtype_pgr_init(int *flags, page_t *pp, int mnode, pgcnt_t pgcnt)
     1624 +mtype_pgr_init(int *flags, page_t *pp, pgcnt_t pgcnt)
1625 1625  {
1626 1626          int mtype = mtypetop;
1627 1627  #if !defined(__xpv)
1628 1628          if (RESTRICT16M_ALLOC(freemem, pgcnt, *flags)) {
1629 1629                  *flags |= PGI_MT_RANGE16M;
1630 1630          } else {
1631 1631                  VM_STAT_ADD(vmm_vmstats.unrestrict16mcnt);
1632 1632                  *flags |= PGI_MT_RANGE0;
1633 1633          }
1634 1634  #endif
↓ open down ↓ 2472 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX