diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-27 22:16:01 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:16 -0500 |
commit | 38bd77a6c35168b03b65f7438cdcc1257d550924 (patch) | |
tree | 72e2b49e46f7205cc0edc7a0b9761cd23e031ea2 /arch | |
parent | d8a3539e64f8e27b0ab5bb7e7ba3b8f34b739224 (diff) |
x86, apic: remove ES7000_IRQ_DELIVERY_MODE and ES7000_IRQ_DEST_MODE
Impact: cleanup
They were only used in a single place and obscured the apic_es7000
driver template.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/es7000/apic.h | 2 | ||||
-rw-r--r-- | arch/x86/mach-generic/es7000.c | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/include/asm/es7000/apic.h b/arch/x86/include/asm/es7000/apic.h index 690016683f21..342416b3fadd 100644 --- a/arch/x86/include/asm/es7000/apic.h +++ b/arch/x86/include/asm/es7000/apic.h | |||
@@ -27,8 +27,6 @@ static inline const cpumask_t *target_cpus(void) | |||
27 | #define NO_BALANCE_IRQ_CLUSTER (1) | 27 | #define NO_BALANCE_IRQ_CLUSTER (1) |
28 | 28 | ||
29 | #define APIC_DFR_VALUE (APIC_DFR_FLAT) | 29 | #define APIC_DFR_VALUE (APIC_DFR_FLAT) |
30 | #define ES7000_IRQ_DELIVERY_MODE (dest_Fixed) | ||
31 | #define ES7000_IRQ_DEST_MODE (0) /* phys delivery to target procs */ | ||
32 | #define NO_BALANCE_IRQ (0) | 30 | #define NO_BALANCE_IRQ (0) |
33 | #undef APIC_DEST_LOGICAL | 31 | #undef APIC_DEST_LOGICAL |
34 | #define APIC_DEST_LOGICAL 0x0 | 32 | #define APIC_DEST_LOGICAL 0x0 |
diff --git a/arch/x86/mach-generic/es7000.c b/arch/x86/mach-generic/es7000.c index 5d97408919bb..269a97aef431 100644 --- a/arch/x86/mach-generic/es7000.c +++ b/arch/x86/mach-generic/es7000.c | |||
@@ -107,8 +107,9 @@ 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 | .irq_delivery_mode = ES7000_IRQ_DELIVERY_MODE, | 110 | .irq_delivery_mode = dest_Fixed, |
111 | .irq_dest_mode = ES7000_IRQ_DEST_MODE, | 111 | /* phys delivery to target CPUs: */ |
112 | .irq_dest_mode = 0, | ||
112 | 113 | ||
113 | .target_cpus = target_cpus, | 114 | .target_cpus = target_cpus, |
114 | .ESR_DISABLE = esr_disable, | 115 | .ESR_DISABLE = esr_disable, |