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 | d8a3539e64f8e27b0ab5bb7e7ba3b8f34b739224 (patch) | |
tree | 96fd5fb3cd3a9dfbd72c0b3853bcb9b05e0a7c26 | |
parent | 1b1bcb3ff4e4934d949574cec90679219ace5412 (diff) |
x86, apic: remove BIGSMP_IRQ_DELIVERY_MODE and BIGSMP_IRQ_DEST_MODE
Impact: cleanup
They were only used in a single place and obscured the apic_bigsmp
driver template.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/include/asm/bigsmp/apic.h | 2 | ||||
-rw-r--r-- | arch/x86/mach-generic/bigsmp.c | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/include/asm/bigsmp/apic.h b/arch/x86/include/asm/bigsmp/apic.h index 293551b0e610..dca2d5b01daa 100644 --- a/arch/x86/include/asm/bigsmp/apic.h +++ b/arch/x86/include/asm/bigsmp/apic.h | |||
@@ -21,8 +21,6 @@ static inline const cpumask_t *target_cpus(void) | |||
21 | #undef APIC_DEST_LOGICAL | 21 | #undef APIC_DEST_LOGICAL |
22 | #define APIC_DEST_LOGICAL 0 | 22 | #define APIC_DEST_LOGICAL 0 |
23 | #define APIC_DFR_VALUE (APIC_DFR_FLAT) | 23 | #define APIC_DFR_VALUE (APIC_DFR_FLAT) |
24 | #define BIGSMP_IRQ_DELIVERY_MODE (dest_Fixed) | ||
25 | #define BIGSMP_IRQ_DEST_MODE (0) /* phys delivery to target proc */ | ||
26 | #define NO_BALANCE_IRQ (0) | 24 | #define NO_BALANCE_IRQ (0) |
27 | 25 | ||
28 | static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid) | 26 | static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid) |
diff --git a/arch/x86/mach-generic/bigsmp.c b/arch/x86/mach-generic/bigsmp.c index e8c1ceca7c94..06be776067ad 100644 --- a/arch/x86/mach-generic/bigsmp.c +++ b/arch/x86/mach-generic/bigsmp.c | |||
@@ -64,8 +64,9 @@ struct genapic apic_bigsmp = { | |||
64 | .acpi_madt_oem_check = NULL, | 64 | .acpi_madt_oem_check = NULL, |
65 | .apic_id_registered = bigsmp_apic_id_registered, | 65 | .apic_id_registered = bigsmp_apic_id_registered, |
66 | 66 | ||
67 | .irq_delivery_mode = BIGSMP_IRQ_DELIVERY_MODE, | 67 | .irq_delivery_mode = dest_Fixed, |
68 | .irq_dest_mode = BIGSMP_IRQ_DEST_MODE, | 68 | /* phys delivery to target CPU: */ |
69 | .irq_dest_mode = 0, | ||
69 | 70 | ||
70 | .target_cpus = target_cpus, | 71 | .target_cpus = target_cpus, |
71 | .ESR_DISABLE = esr_disable, | 72 | .ESR_DISABLE = esr_disable, |