aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-generic/es7000.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-27 22:02:31 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:13 -0500
commitf8987a1093cc7a896137e264c24e04d4048e9f95 (patch)
treefbe21050e8b5547b64505544296890d9882bca78 /arch/x86/mach-generic/es7000.c
parent7ed248daa56156f2fd7175f90b62fc6397b0c7b7 (diff)
x86, genapic: rename int_delivery_mode, et. al.
int_delivery_mode is supposed to mean 'interrupt delivery mode', but it's quite a misnomer as 'int' we usually think of as an integer type ... The standard naming for such attributes is 'irq' - so rename the following fields and macros: int_delivery_mode => irq_delivery_mode INT_DELIVERY_MODE => IRQ_DELIVERY_MODE int_dest_mode => irq_dest_mode INT_DEST_MODE => IRQ_DEST_MODE Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic/es7000.c')
-rw-r--r--arch/x86/mach-generic/es7000.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/mach-generic/es7000.c b/arch/x86/mach-generic/es7000.c
index d68ca0bce675..06653892953e 100644
--- a/arch/x86/mach-generic/es7000.c
+++ b/arch/x86/mach-generic/es7000.c
@@ -21,8 +21,8 @@
21void __init es7000_update_genapic_to_cluster(void) 21void __init es7000_update_genapic_to_cluster(void)
22{ 22{
23 apic->target_cpus = target_cpus_cluster; 23 apic->target_cpus = target_cpus_cluster;
24 apic->int_delivery_mode = INT_DELIVERY_MODE_CLUSTER; 24 apic->irq_delivery_mode = INT_DELIVERY_MODE_CLUSTER;
25 apic->int_dest_mode = INT_DEST_MODE_CLUSTER; 25 apic->irq_dest_mode = INT_DEST_MODE_CLUSTER;
26 apic->no_balance_irq = NO_BALANCE_IRQ_CLUSTER; 26 apic->no_balance_irq = NO_BALANCE_IRQ_CLUSTER;
27 27
28 apic->init_apic_ldr = init_apic_ldr_cluster; 28 apic->init_apic_ldr = init_apic_ldr_cluster;
@@ -107,8 +107,8 @@ struct genapic apic_es7000 = {
107 .acpi_madt_oem_check = es7000_acpi_madt_oem_check, 107 .acpi_madt_oem_check = es7000_acpi_madt_oem_check,
108 .apic_id_registered = es7000_apic_id_registered, 108 .apic_id_registered = es7000_apic_id_registered,
109 109
110 .int_delivery_mode = INT_DELIVERY_MODE, 110 .irq_delivery_mode = IRQ_DELIVERY_MODE,
111 .int_dest_mode = INT_DEST_MODE, 111 .irq_dest_mode = IRQ_DEST_MODE,
112 112
113 .target_cpus = target_cpus, 113 .target_cpus = target_cpus,
114 .ESR_DISABLE = esr_disable, 114 .ESR_DISABLE = esr_disable,