This field name was unreasonably long - shorten it.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
int disable_esr;
- int apic_destination_logical;
+ int dest_logical;
unsigned long (*check_apicid_used)(physid_mask_t bitmap, int apicid);
unsigned long (*check_apicid_present)(int apicid);
unsigned long flags;
local_irq_save(flags);
- __send_IPI_dest_field(mask, vector, apic->apic_destination_logical);
+ __send_IPI_dest_field(mask, vector, apic->dest_logical);
local_irq_restore(flags);
}
_flat_send_IPI_mask(mask, vector);
}
} else if (num_online_cpus() > 1) {
- __send_IPI_shortcut(APIC_DEST_ALLBUT, vector, apic->apic_destination_logical);
+ __send_IPI_shortcut(APIC_DEST_ALLBUT, vector, apic->dest_logical);
}
}
if (vector == NMI_VECTOR)
flat_send_IPI_mask(cpu_online_mask, vector);
else
- __send_IPI_shortcut(APIC_DEST_ALLINC, vector, apic->apic_destination_logical);
+ __send_IPI_shortcut(APIC_DEST_ALLINC, vector, apic->dest_logical);
}
static unsigned int get_apic_id(unsigned long x)
.target_cpus = flat_target_cpus,
.disable_esr = 0,
- .apic_destination_logical = APIC_DEST_LOGICAL,
+ .dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = NULL,
.check_apicid_present = NULL,
.target_cpus = physflat_target_cpus,
.disable_esr = 0,
- .apic_destination_logical = 0,
+ .dest_logical = 0,
.check_apicid_used = NULL,
.check_apicid_present = NULL,
for_each_cpu(query_cpu, mask)
__x2apic_send_IPI_dest(
per_cpu(x86_cpu_to_logical_apicid, query_cpu),
- vector, apic->apic_destination_logical);
+ vector, apic->dest_logical);
local_irq_restore(flags);
}
if (query_cpu != this_cpu)
__x2apic_send_IPI_dest(
per_cpu(x86_cpu_to_logical_apicid, query_cpu),
- vector, apic->apic_destination_logical);
+ vector, apic->dest_logical);
local_irq_restore(flags);
}
if (query_cpu != this_cpu)
__x2apic_send_IPI_dest(
per_cpu(x86_cpu_to_logical_apicid, query_cpu),
- vector, apic->apic_destination_logical);
+ vector, apic->dest_logical);
local_irq_restore(flags);
}
.target_cpus = x2apic_target_cpus,
.disable_esr = 0,
- .apic_destination_logical = APIC_DEST_LOGICAL,
+ .dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = NULL,
.check_apicid_present = NULL,
.target_cpus = x2apic_target_cpus,
.disable_esr = 0,
- .apic_destination_logical = 0,
+ .dest_logical = 0,
.check_apicid_used = NULL,
.check_apicid_present = NULL,
.target_cpus = uv_target_cpus,
.disable_esr = 0,
- .apic_destination_logical = APIC_DEST_LOGICAL,
+ .dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = NULL,
.check_apicid_present = NULL,
* Wait for idle.
*/
apic_wait_icr_idle();
- cfg = APIC_DM_FIXED | APIC_DEST_SELF | vector | apic->apic_destination_logical;
+ cfg = APIC_DM_FIXED | APIC_DEST_SELF | vector | apic->dest_logical;
/*
* Send the IPI. The write to APIC_ICR fires this off.
*/
static inline int __prepare_ICR(unsigned int shortcut, int vector)
{
- unsigned int icr = shortcut | apic->apic_destination_logical;
+ unsigned int icr = shortcut | apic->dest_logical;
switch (vector) {
default:
/* Target chip */
/* Boot on the stack */
/* Kick the second */
- apic_icr_write(APIC_DM_NMI | apic->apic_destination_logical, logical_apicid);
+ apic_icr_write(APIC_DM_NMI | apic->dest_logical, logical_apicid);
pr_debug("Waiting for send to finish...\n");
send_status = safe_apic_wait_icr_idle();
.target_cpus = bigsmp_target_cpus,
.disable_esr = 1,
- .apic_destination_logical = 0,
+ .dest_logical = 0,
.check_apicid_used = check_apicid_used,
.check_apicid_present = check_apicid_present,
.target_cpus = default_target_cpus,
.disable_esr = 0,
- .apic_destination_logical = APIC_DEST_LOGICAL,
+ .dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = check_apicid_used,
.check_apicid_present = check_apicid_present,
.target_cpus = es7000_target_cpus,
.disable_esr = 1,
- .apic_destination_logical = 0,
+ .dest_logical = 0,
.check_apicid_used = check_apicid_used,
.check_apicid_present = check_apicid_present,
.target_cpus = numaq_target_cpus,
.disable_esr = 1,
- .apic_destination_logical = APIC_DEST_LOGICAL,
+ .dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = check_apicid_used,
.check_apicid_present = check_apicid_present,
.target_cpus = summit_target_cpus,
.disable_esr = 1,
- .apic_destination_logical = APIC_DEST_LOGICAL,
+ .dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = check_apicid_used,
.check_apicid_present = check_apicid_present,