Print this page
4444 remove unused cpuid-related globals

@@ -118,11 +118,10 @@
 uint_t x86_vendor = X86_VENDOR_IntelClone;
 uint_t x86_type = X86_TYPE_OTHER;
 uint_t x86_clflush_size = 0;
 
 uint_t pentiumpro_bug4046376;
-uint_t pentiumpro_bug4064495;
 
 uchar_t x86_featureset[BT_SIZEOFMAP(NUM_X86_FEATURES)];
 
 static char *x86_feature_names[NUM_X86_FEATURES] = {
         "lgpg",

@@ -212,12 +211,10 @@
                             x86_feature_names[i]);
                 }
         }
 }
 
-uint_t enable486;
-
 static size_t xsave_state_size = 0;
 uint64_t xsave_bv_all = (XFEATURE_LEGACY_FP | XFEATURE_SSE);
 boolean_t xsave_force_disable = B_FALSE;
 
 /*

@@ -1031,11 +1028,10 @@
                 if (cpi->cpi_family == 5)
                         x86_type = X86_TYPE_P5;
                 else if (IS_LEGACY_P6(cpi)) {
                         x86_type = X86_TYPE_P6;
                         pentiumpro_bug4046376 = 1;
-                        pentiumpro_bug4064495 = 1;
                         /*
                          * Clear the SEP bit when it was set erroneously
                          */
                         if (cpi->cpi_model < 3 && cpi->cpi_step < 3)
                                 cp->cp_edx &= ~CPUID_INTC_EDX_SEP;