Print this page
4804 apix & pcplusmp are nearly warning free already
Tentatively Reviewed by: Robert Mustacchi <rm@joyent.com>
*** 213,230 ****
"pcplusmp v1.4 compatible",
};
static void *apic_hdlp;
- /*
- * apic_let_idle_redistribute can have the following values:
- * 0 - If clock decremented it from 1 to 0, clock has to call redistribute.
- * apic_redistribute_lock prevents multiple idle cpus from redistributing
- */
- int apic_num_idle_redistributions = 0;
- static int apic_let_idle_redistribute = 0;
-
/* to gather intr data and redistribute */
static void apic_redistribute_compute(void);
/*
* This is the loadable module wrapper
--- 213,222 ----
*** 796,806 ****
{
uchar_t vector;
int irq;
if ((irq = apic_allocate_irq(APIC_VECTOR(ipl))) != -1) {
! if (vector = apic_allocate_vector(ipl, irq, 1)) {
apic_irq_table[irq]->airq_mps_intr_index =
RESERVE_INDEX;
apic_irq_table[irq]->airq_vector = vector;
if (type != -1) {
apic_resv_vector[ipl] = vector;
--- 788,798 ----
{
uchar_t vector;
int irq;
if ((irq = apic_allocate_irq(APIC_VECTOR(ipl))) != -1) {
! if ((vector = apic_allocate_vector(ipl, irq, 1))) {
apic_irq_table[irq]->airq_mps_intr_index =
RESERVE_INDEX;
apic_irq_table[irq]->airq_vector = vector;
if (type != -1) {
apic_resv_vector[ipl] = vector;