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:15 -0500 |
commit | 1b1bcb3ff4e4934d949574cec90679219ace5412 (patch) | |
tree | f0724e41d2bd12af5160d37dccdf2c433203abf9 | |
parent | 82daea6b0890f739be1ad4ab1c1b922b1555582e (diff) |
x86, apic: remove NUMAQ_IRQ_DELIVERY_MODE and NUMAQ_IRQ_DEST_MODE
Impact: cleanup
They were only used in a single place and obscured the apic_numaq template.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/include/asm/numaq/apic.h | 3 | ||||
-rw-r--r-- | arch/x86/mach-generic/numaq.c | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86/include/asm/numaq/apic.h b/arch/x86/include/asm/numaq/apic.h index 7746035c5911..a9d846769a02 100644 --- a/arch/x86/include/asm/numaq/apic.h +++ b/arch/x86/include/asm/numaq/apic.h | |||
@@ -15,9 +15,6 @@ static inline const cpumask_t *target_cpus(void) | |||
15 | #define NO_BALANCE_IRQ (1) | 15 | #define NO_BALANCE_IRQ (1) |
16 | #define esr_disable (1) | 16 | #define esr_disable (1) |
17 | 17 | ||
18 | #define NUMAQ_IRQ_DELIVERY_MODE dest_LowestPrio | ||
19 | #define NUMAQ_IRQ_DEST_MODE 0 /* physical delivery on LOCAL quad */ | ||
20 | |||
21 | static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid) | 18 | static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid) |
22 | { | 19 | { |
23 | return physid_isset(apicid, bitmap); | 20 | return physid_isset(apicid, bitmap); |
diff --git a/arch/x86/mach-generic/numaq.c b/arch/x86/mach-generic/numaq.c index 77ac66935fdd..6daddb6949d2 100644 --- a/arch/x86/mach-generic/numaq.c +++ b/arch/x86/mach-generic/numaq.c | |||
@@ -51,8 +51,9 @@ struct genapic apic_numaq = { | |||
51 | .acpi_madt_oem_check = NULL, | 51 | .acpi_madt_oem_check = NULL, |
52 | .apic_id_registered = numaq_apic_id_registered, | 52 | .apic_id_registered = numaq_apic_id_registered, |
53 | 53 | ||
54 | .irq_delivery_mode = NUMAQ_IRQ_DELIVERY_MODE, | 54 | .irq_delivery_mode = dest_LowestPrio, |
55 | .irq_dest_mode = NUMAQ_IRQ_DEST_MODE, | 55 | /* physical delivery on LOCAL quad: */ |
56 | .irq_dest_mode = 0, | ||
56 | 57 | ||
57 | .target_cpus = target_cpus, | 58 | .target_cpus = target_cpus, |
58 | .ESR_DISABLE = esr_disable, | 59 | .ESR_DISABLE = esr_disable, |