x86: rename 'genapic' to 'apic'
Rename genapic-> to apic-> references because in a future chagne we'll
open-code all the indirect calls (instead of obscuring them via macros),
so we want this reference to be as short as possible.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/arch/x86/mach-generic/es7000.c b/arch/x86/mach-generic/es7000.c
index c2ded14..2f4f4a6 100644
--- a/arch/x86/mach-generic/es7000.c
+++ b/arch/x86/mach-generic/es7000.c
@@ -20,14 +20,14 @@
void __init es7000_update_genapic_to_cluster(void)
{
- genapic->target_cpus = target_cpus_cluster;
- genapic->int_delivery_mode = INT_DELIVERY_MODE_CLUSTER;
- genapic->int_dest_mode = INT_DEST_MODE_CLUSTER;
- genapic->no_balance_irq = NO_BALANCE_IRQ_CLUSTER;
+ apic->target_cpus = target_cpus_cluster;
+ apic->int_delivery_mode = INT_DELIVERY_MODE_CLUSTER;
+ apic->int_dest_mode = INT_DEST_MODE_CLUSTER;
+ apic->no_balance_irq = NO_BALANCE_IRQ_CLUSTER;
- genapic->init_apic_ldr = init_apic_ldr_cluster;
+ apic->init_apic_ldr = init_apic_ldr_cluster;
- genapic->cpu_mask_to_apicid = cpu_mask_to_apicid_cluster;
+ apic->cpu_mask_to_apicid = cpu_mask_to_apicid_cluster;
}
static int probe_es7000(void)