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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/disp/fx.c
          +++ new/usr/src/uts/common/disp/fx.c
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60          "FX",
  61   61          fx_init,
  62   62          0
  63   63  };
  64   64  
  65   65  static struct modlsched modlsched = {
  66   66          &mod_schedops, "Fixed priority sched class", &csw
  67   67  };
  68   68  
  69   69  static struct modlinkage modlinkage = {
  70      -        MODREV_1, (void *)&modlsched, NULL
       70 +        MODREV_1, { (void *)&modlsched, NULL }
  71   71  };
  72   72  
  73   73  
  74   74  /*
  75   75   * control flags (kparms->fx_cflags).
  76   76   */
  77   77  #define FX_DOUPRILIM    0x01    /* change user priority limit */
  78   78  #define FX_DOUPRI       0x02    /* change user priority */
  79   79  #define FX_DOTQ         0x04    /* change FX time quantum */
  80   80  
↓ open down ↓ 116 lines elided ↑ open up ↑
 197  197  
 198  198  extern fxdpent_t *fx_getdptbl(void);
 199  199  
 200  200  static void     fx_change_priority(kthread_t *, fxproc_t *);
 201  201  static fxproc_t *fx_list_lookup(kt_did_t);
 202  202  static void fx_list_release(fxproc_t *);
 203  203  
 204  204  
 205  205  static struct classfuncs fx_classfuncs = {
 206  206          /* class functions */
 207      -        fx_admin,
 208      -        fx_getclinfo,
 209      -        fx_parmsin,
 210      -        fx_parmsout,
 211      -        fx_vaparmsin,
 212      -        fx_vaparmsout,
 213      -        fx_getclpri,
 214      -        fx_alloc,
 215      -        fx_free,
      207 +        {   fx_admin,
      208 +            fx_getclinfo,
      209 +            fx_parmsin,
      210 +            fx_parmsout,
      211 +            fx_vaparmsin,
      212 +            fx_vaparmsout,
      213 +            fx_getclpri,
      214 +            fx_alloc,
      215 +            fx_free },
 216  216  
 217  217          /* thread functions */
 218      -        fx_enterclass,
 219      -        fx_exitclass,
 220      -        fx_canexit,
 221      -        fx_fork,
 222      -        fx_forkret,
 223      -        fx_parmsget,
 224      -        fx_parmsset,
 225      -        fx_stop,
 226      -        fx_exit,
 227      -        fx_nullsys,     /* active */
 228      -        fx_nullsys,     /* inactive */
 229      -        fx_swapin,
 230      -        fx_swapout,
 231      -        fx_trapret,
 232      -        fx_preempt,
 233      -        fx_setrun,
 234      -        fx_sleep,
 235      -        fx_tick,
 236      -        fx_wakeup,
 237      -        fx_donice,
 238      -        fx_globpri,
 239      -        fx_nullsys,     /* set_process_group */
 240      -        fx_yield,
 241      -        fx_doprio,
      218 +        {   fx_enterclass,
      219 +            fx_exitclass,
      220 +            fx_canexit,
      221 +            fx_fork,
      222 +            fx_forkret,
      223 +            fx_parmsget,
      224 +            fx_parmsset,
      225 +            fx_stop,
      226 +            fx_exit,
      227 +            fx_nullsys, /* active */
      228 +            fx_nullsys, /* inactive */
      229 +            fx_swapin,
      230 +            fx_swapout,
      231 +            fx_trapret,
      232 +            fx_preempt,
      233 +            fx_setrun,
      234 +            fx_sleep,
      235 +            fx_tick,
      236 +            fx_wakeup,
      237 +            fx_donice,
      238 +            fx_globpri,
      239 +            fx_nullsys, /* set_process_group */
      240 +            fx_yield,
      241 +            fx_doprio },
 242  242  };
 243  243  
 244  244  
 245  245  int
 246  246  _init()
 247  247  {
 248  248          return (mod_install(&modlinkage));
 249  249  }
 250  250  
 251  251  int
↓ open down ↓ 1595 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX