Commit d289b074 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] genarch cpu_mask_to_apicid fix

From: Martin Bligh

Add cpu_mask_to_apicid to generic arch to fit with Keith's changes.
parent 80d21417
......@@ -59,6 +59,7 @@ struct genapic {
unsigned (*get_apic_id)(unsigned long x);
unsigned long apic_id_mask;
unsigned int (*cpu_mask_to_apicid)(unsigned long cpumask);
/* ipi */
void (*send_IPI_mask)(int mask, int vector);
......@@ -95,6 +96,7 @@ struct genapic {
APICFUNC(mps_oem_check), \
APICFUNC(get_apic_id), \
.apic_id_mask = APIC_ID_MASK, \
APICFUNC(cpu_mask_to_apicid), \
APICFUNC(acpi_madt_oem_check), \
APICFUNC(send_IPI_mask), \
APICFUNC(send_IPI_allbutself), \
......
......@@ -26,5 +26,6 @@
#define check_apicid_used (genapic->check_apicid_used)
#define GET_APIC_ID (genapic->get_apic_id)
#define APIC_ID_MASK (genapic->apic_id_mask)
#define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid)
#endif /* __ASM_MACH_APIC_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment