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_dep.h
          +++ new/usr/src/uts/i86pc/vm/vm_dep.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
       23 + * Copyright 2019 Joyent, Inc.
  23   24   */
  24   25  /*
  25   26   * Copyright (c) 2010, Intel Corporation.
  26   27   * All rights reserved.
  27   28   */
  28   29  
  29   30  /*
  30   31   * UNIX machine dependent virtual memory support.
  31   32   */
  32   33  
↓ open down ↓ 265 lines elided ↑ open up ↑
 298  299          (mtype = mtype_func(mnode, mtype, flags))
 299  300  
 300  301  #define MTYPE_NEXT(mnode, mtype, flags) {                               \
 301  302          if (flags & PGI_MT_RANGE) {                                     \
 302  303                  mtype = mtype_func(mnode, mtype, flags | PGI_MT_NEXT);  \
 303  304          } else {                                                        \
 304  305                  mtype = -1;                                             \
 305  306          }                                                               \
 306  307  }
 307  308  
 308      -extern int mtype_pgr_init(int *, page_t *, int, pgcnt_t);
 309      -#define MTYPE_PGR_INIT(mtype, flags, pp, mnode, pgcnt)                  \
 310      -        (mtype = mtype_pgr_init(&flags, pp, mnode, pgcnt))
      309 +extern int mtype_pgr_init(int *, page_t *, pgcnt_t);
      310 +#define MTYPE_PGR_INIT(mtype, flags, pp, pgcnt)                         \
      311 +        (mtype = mtype_pgr_init(&flags, pp, pgcnt))
 311  312  
 312  313  #define MNODE_PGCNT(mnode)              mnode_pgcnt(mnode)
 313  314  
 314  315  extern void mnodetype_2_pfn(int, int, pfn_t *, pfn_t *);
 315  316  #define MNODETYPE_2_PFN(mnode, mtype, pfnlo, pfnhi)                     \
 316  317          mnodetype_2_pfn(mnode, mtype, &pfnlo, &pfnhi)
 317  318  
 318  319  #define PC_BIN_MUTEX(mnode, bin, flags) ((flags & PG_FREE_LIST) ?       \
 319  320          &fpc_mutex[(bin) & (NPC_MUTEX - 1)][mnode] :                    \
 320  321          &cpc_mutex[(bin) & (NPC_MUTEX - 1)][mnode])
↓ open down ↓ 242 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX