Print this page
4664 CPU->cpu_pri_data hasn't been used for years
@@ -141,14 +141,10 @@
*/
uchar_t apic_ipltopri[MAXIPL + 1]; /* unix ipl to apic pri */
/* The taskpri to be programmed into apic to mask given ipl */
-#if defined(__amd64)
-static unsigned char dummy_cpu_pri[MAXIPL + 1];
-#endif
-
/*
* Correlation of the hardware vector to the IPL in use, initialized
* from apic_vectortoipl[] in apic_init(). The final IPLs may not correlate
* to the IPLs in apic_vectortoipl on some systems that share interrupt lines
* connected to errata-stricken IOAPICs
@@ -298,16 +294,15 @@
}
for (; j < MAXIPL + 1; j++)
/* fill up any empty ipltopri slots */
apic_ipltopri[j] = (i << APIC_IPL_SHIFT) + APIC_BASE_VECT;
apic_init_common();
-#if defined(__amd64)
- CPU->cpu_pri_data = dummy_cpu_pri;
-#else
+
+#if !defined(__amd64)
if (cpuid_have_cr8access(CPU))
apic_have_32bit_cr8 = 1;
-#endif /* __amd64 */
+#endif
}
static void
apic_init_intr(void)
{