diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-05-18 20:27:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-18 20:27:00 -0700 |
| commit | d289b07496683a319ba0623f57313539ee342aa7 (patch) | |
| tree | 4b8cdc800e6e1fea8b36d511628e111c865d0d5b /include | |
| parent | 80d21417c96e2cabec9b0ed559a7558945e4a091 (diff) | |
[PATCH] genarch cpu_mask_to_apicid fix
From: Martin Bligh
Add cpu_mask_to_apicid to generic arch to fit with Keith's changes.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-i386/genapic.h | 2 | ||||
| -rw-r--r-- | include/asm-i386/mach-generic/mach_apic.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-i386/genapic.h b/include/asm-i386/genapic.h index d6d94d5436b0..0fb2bd405e96 100644 --- a/include/asm-i386/genapic.h +++ b/include/asm-i386/genapic.h @@ -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), \ diff --git a/include/asm-i386/mach-generic/mach_apic.h b/include/asm-i386/mach-generic/mach_apic.h index 9adab2c3f2fc..e498c6574568 100644 --- a/include/asm-i386/mach-generic/mach_apic.h +++ b/include/asm-i386/mach-generic/mach_apic.h @@ -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 */ |
