Print this page
4664 CPU->cpu_pri_data hasn't been used for years

@@ -60,11 +60,10 @@
  * defined in common/sys/cpuvar.h.
  *
  * Note:  This is kinda kludgy but seems to be the best
  * of our alternatives.
  */
-typedef void *cpu_pri_lev_t;
 
 struct cpuid_info;
 struct cpu_ucode_info;
 struct cmi_hdl;
 

@@ -89,13 +88,10 @@
         uint32_t        xc_wait_cnt;
         volatile uint32_t xc_work_cnt;
 
         int             mcpu_nodeid;            /* node-id */
         int             mcpu_pri;               /* CPU priority */
-        cpu_pri_lev_t   mcpu_pri_data;          /* ptr to machine dependent */
-                                                /* data for setting priority */
-                                                /* level */
 
         struct hat      *mcpu_current_hat; /* cpu's current hat */
 
         struct hat_cpu_info     *mcpu_hat_info;
 

@@ -163,11 +159,10 @@
 
 /* Please DON'T add any more of this namespace-poisoning sewage here */
 
 #define cpu_nodeid cpu_m.mcpu_nodeid
 #define cpu_pri cpu_m.mcpu_pri
-#define cpu_pri_data cpu_m.mcpu_pri_data
 #define cpu_current_hat cpu_m.mcpu_current_hat
 #define cpu_hat_info cpu_m.mcpu_hat_info
 #define cpu_ppaddr_mutex cpu_m.mcpu_ppaddr_mutex
 #define cpu_gdt cpu_m.mcpu_gdt
 #define cpu_idt cpu_m.mcpu_idt