Print this page
7127  remove -Wno-missing-braces from Makefile.uts


1250 
1251         sysdc_initparam();
1252 
1253         sysdccid = cid;
1254         *clfuncspp = &sysdc_classfuncs;
1255 
1256         return ((pri_t)v.v_maxsyspri);
1257 }
1258 
1259 static struct sclass csw = {
1260         "SDC",
1261         sysdc_init,
1262         0
1263 };
1264 
1265 static struct modlsched modlsched = {
1266         &mod_schedops, "system duty cycle scheduling class", &csw
1267 };
1268 
1269 static struct modlinkage modlinkage = {
1270         MODREV_1, (void *)&modlsched, NULL
1271 };
1272 
1273 int
1274 _init()
1275 {
1276         return (mod_install(&modlinkage));
1277 }
1278 
1279 int
1280 _fini()
1281 {
1282         return (EBUSY);         /* can't unload for now */
1283 }
1284 
1285 int
1286 _info(struct modinfo *modinfop)
1287 {
1288         return (mod_info(&modlinkage, modinfop));
1289 }
1290 




1250 
1251         sysdc_initparam();
1252 
1253         sysdccid = cid;
1254         *clfuncspp = &sysdc_classfuncs;
1255 
1256         return ((pri_t)v.v_maxsyspri);
1257 }
1258 
1259 static struct sclass csw = {
1260         "SDC",
1261         sysdc_init,
1262         0
1263 };
1264 
1265 static struct modlsched modlsched = {
1266         &mod_schedops, "system duty cycle scheduling class", &csw
1267 };
1268 
1269 static struct modlinkage modlinkage = {
1270         MODREV_1, { (void *)&modlsched, NULL }
1271 };
1272 
1273 int
1274 _init()
1275 {
1276         return (mod_install(&modlinkage));
1277 }
1278 
1279 int
1280 _fini()
1281 {
1282         return (EBUSY);         /* can't unload for now */
1283 }
1284 
1285 int
1286 _info(struct modinfo *modinfop)
1287 {
1288         return (mod_info(&modlinkage, modinfop));
1289 }
1290