Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/os/mp_startup.c
          +++ new/usr/src/uts/i86pc/os/mp_startup.c
↓ open down ↓ 158 lines elided ↑ open up ↑
 159  159          (void) cpuid_getbrandstr(CPU, cp->cpu_brandstr, CPU_IDSTRLEN);
 160  160  }
 161  161  
 162  162  /*
 163  163   * Configure syscall support on this CPU.
 164  164   */
 165  165  /*ARGSUSED*/
 166  166  void
 167  167  init_cpu_syscall(struct cpu *cp)
 168  168  {
 169      -        uint64_t flags;
 170      -
 171  169          kpreempt_disable();
 172  170  
 173  171  #if defined(__amd64)
 174  172          if (is_x86_feature(x86_featureset, X86FSET_MSR) &&
 175  173              is_x86_feature(x86_featureset, X86FSET_ASYSC)) {
 176  174                  uint64_t flags;
 177  175  
 178  176  #if !defined(__lint)
 179  177                  /*
 180  178                   * The syscall instruction imposes a certain ordering on
↓ open down ↓ 1907 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX