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:14 -0500 |
commit | 82daea6b0890f739be1ad4ab1c1b922b1555582e (patch) | |
tree | bc80e4bef77593875db49407fb6547a72f00c4c0 | |
parent | dcafa4a8c95ce063cbae0a5e61632bc3c4924e66 (diff) |
x86, apic: remove SUMMIT_IRQ_DELIVERY_MODE and SUMMIT_IRQ_DEST_MODE
Impact: cleanup
They were only used in a single place and obscured the apic_summit template.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/include/asm/summit/apic.h | 3 | ||||
-rw-r--r-- | arch/x86/mach-generic/summit.c | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86/include/asm/summit/apic.h b/arch/x86/include/asm/summit/apic.h index ea2abe9b5979..427d0889f6f2 100644 --- a/arch/x86/include/asm/summit/apic.h +++ b/arch/x86/include/asm/summit/apic.h | |||
@@ -24,9 +24,6 @@ static inline const cpumask_t *target_cpus(void) | |||
24 | return &cpumask_of_cpu(0); | 24 | return &cpumask_of_cpu(0); |
25 | } | 25 | } |
26 | 26 | ||
27 | #define SUMMIT_IRQ_DELIVERY_MODE (dest_LowestPrio) | ||
28 | #define SUMMIT_IRQ_DEST_MODE 1 /* logical delivery broadcast to all procs */ | ||
29 | |||
30 | static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid) | 27 | static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid) |
31 | { | 28 | { |
32 | return 0; | 29 | return 0; |
diff --git a/arch/x86/mach-generic/summit.c b/arch/x86/mach-generic/summit.c index 7b3f43caf2ae..1b9164b92b0a 100644 --- a/arch/x86/mach-generic/summit.c +++ b/arch/x86/mach-generic/summit.c | |||
@@ -44,8 +44,9 @@ struct genapic apic_summit = { | |||
44 | .acpi_madt_oem_check = summit_acpi_madt_oem_check, | 44 | .acpi_madt_oem_check = summit_acpi_madt_oem_check, |
45 | .apic_id_registered = summit_apic_id_registered, | 45 | .apic_id_registered = summit_apic_id_registered, |
46 | 46 | ||
47 | .irq_delivery_mode = SUMMIT_IRQ_DELIVERY_MODE, | 47 | .irq_delivery_mode = dest_LowestPrio, |
48 | .irq_dest_mode = SUMMIT_IRQ_DEST_MODE, | 48 | /* logical delivery broadcast to all CPUs: */ |
49 | .irq_dest_mode = 1, | ||
49 | 50 | ||
50 | .target_cpus = target_cpus, | 51 | .target_cpus = target_cpus, |
51 | .ESR_DISABLE = esr_disable, | 52 | .ESR_DISABLE = esr_disable, |