Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized
@@ -18,10 +18,11 @@
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2019 Joyent, Inc.
*/
/*
* UNIX machine dependent virtual memory support.
*/
@@ -53,11 +54,11 @@
#define MTYPE_INIT(mtype, vp, vaddr, flags, pgsz) \
mtype = (flags & PG_NORELOC) ? MTYPE_NORELOC : MTYPE_RELOC;
/* mtype init for page_get_replacement_page */
-#define MTYPE_PGR_INIT(mtype, flags, pp, mnode, pgcnt) \
+#define MTYPE_PGR_INIT(mtype, flags, pp, pgcnt) \
mtype = (flags & PG_NORELOC) ? MTYPE_NORELOC : MTYPE_RELOC;
#define MNODETYPE_2_PFN(mnode, mtype, pfnlo, pfnhi) \
pfnlo = mem_node_config[mnode].physbase; \
pfnhi = mem_node_config[mnode].physmax;