Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized
@@ -18,10 +18,11 @@
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2019 Joyent, Inc.
*/
/*
* Copyright (c) 2010, Intel Corporation.
* All rights reserved.
*/
@@ -303,13 +304,13 @@
} else { \
mtype = -1; \
} \
}
-extern int mtype_pgr_init(int *, page_t *, int, pgcnt_t);
-#define MTYPE_PGR_INIT(mtype, flags, pp, mnode, pgcnt) \
- (mtype = mtype_pgr_init(&flags, pp, mnode, pgcnt))
+extern int mtype_pgr_init(int *, page_t *, pgcnt_t);
+#define MTYPE_PGR_INIT(mtype, flags, pp, pgcnt) \
+ (mtype = mtype_pgr_init(&flags, pp, pgcnt))
#define MNODE_PGCNT(mnode) mnode_pgcnt(mnode)
extern void mnodetype_2_pfn(int, int, pfn_t *, pfn_t *);
#define MNODETYPE_2_PFN(mnode, mtype, pfnlo, pfnhi) \