summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/domainset.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/sys/domainset.h')
-rw-r--r--freebsd/sys/sys/domainset.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/freebsd/sys/sys/domainset.h b/freebsd/sys/sys/domainset.h
index 32b35ac5..5a00347f 100644
--- a/freebsd/sys/sys/domainset.h
+++ b/freebsd/sys/sys/domainset.h
@@ -96,7 +96,8 @@ struct domainset {
domainid_t ds_order[MAXMEMDOM]; /* nth domain table. */
};
-extern struct domainset domainset_prefer[MAXMEMDOM];
+extern struct domainset domainset_fixed[MAXMEMDOM], domainset_prefer[MAXMEMDOM];
+#define DOMAINSET_FIXED(domain) (&domainset_fixed[(domain)])
#define DOMAINSET_PREF(domain) (&domainset_prefer[(domain)])
extern struct domainset domainset_roundrobin;
#define DOMAINSET_RR() (&domainset_roundrobin)