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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/os/cpupm/cpupm_mach.c
          +++ new/usr/src/uts/i86pc/os/cpupm/cpupm_mach.c
↓ open down ↓ 121 lines elided ↑ open up ↑
 122  122  extern boolean_t cpupm_amd_init(cpu_t *);
 123  123  
 124  124  typedef struct cpupm_vendor {
 125  125          boolean_t       (*cpuv_init)(cpu_t *);
 126  126  } cpupm_vendor_t;
 127  127  
 128  128  /*
 129  129   * Table of supported vendors.
 130  130   */
 131  131  static cpupm_vendor_t cpupm_vendors[] = {
 132      -        cpupm_intel_init,
 133      -        cpupm_amd_init,
 134      -        NULL
      132 +        { cpupm_intel_init },
      133 +        { cpupm_amd_init },
      134 +        { NULL }
 135  135  };
 136  136  #endif
 137  137  
 138  138  /*
 139  139   * Initialize the machine.
 140  140   * See if a module exists for managing power for this CPU.
 141  141   */
 142  142  /*ARGSUSED*/
 143  143  void
 144  144  cpupm_init(cpu_t *cp)
↓ open down ↓ 916 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX