Print this page
XXXX pat_sync is clever enough to check for X86FSET_PAT

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/os/cpr_impl.c
          +++ new/usr/src/uts/i86pc/os/cpr_impl.c
↓ open down ↓ 936 lines elided ↑ open up ↑
 937  937                  PMD(PMD_SX,
 938  938                      ("%s() called on bootcpu nothing to do!\n", str))
 939  939                  return;
 940  940          }
 941  941          mutex_exit(&cpu_lock);
 942  942  
 943  943          /*
 944  944           * We need to Sync PAT with cpu0's PAT. We have to do
 945  945           * this with interrupts disabled.
 946  946           */
 947      -        if (is_x86_feature(x86_featureset, X86FSET_PAT))
 948      -                pat_sync();
      947 +        pat_sync();
 949  948  
 950  949          /*
 951  950           * If we use XSAVE, we need to restore XFEATURE_ENABLE_MASK register.
 952  951           */
 953  952          if (fp_save_mech == FP_XSAVE) {
 954  953                  setup_xfem();
 955  954          }
 956  955  
 957  956          /*
 958  957           * Initialize this CPU's syscall handlers
↓ open down ↓ 180 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX