aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-27 22:16:01 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:14 -0500
commitdcafa4a8c95ce063cbae0a5e61632bc3c4924e66 (patch)
treeeb20e4504ce7001f3f24d1f820900668ad63b2b6
parent9b5bc8dc12421a4b17047061f473d85c1797d543 (diff)
x86, apic: remove DEFAULT_IRQ_DELIVERY_MODE and DEFAULT_IRQ_DEST_MODE
Impact: cleanup They were only used in a single place and obscured the apic_default template. Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/include/asm/mach-default/mach_apic.h2
-rw-r--r--arch/x86/mach-generic/default.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_apic.h b/arch/x86/include/asm/mach-default/mach_apic.h
index eafbf4f20387..f3b2cd423882 100644
--- a/arch/x86/include/asm/mach-default/mach_apic.h
+++ b/arch/x86/include/asm/mach-default/mach_apic.h
@@ -34,8 +34,6 @@ static inline const struct cpumask *target_cpus(void)
34#define wakeup_secondary_cpu (apic->wakeup_cpu) 34#define wakeup_secondary_cpu (apic->wakeup_cpu)
35extern void setup_apic_routing(void); 35extern void setup_apic_routing(void);
36#else 36#else
37#define DEFAULT_IRQ_DELIVERY_MODE dest_LowestPrio
38#define DEFAULT_IRQ_DEST_MODE 1 /* logical delivery broadcast to all procs */
39#define TARGET_CPUS (target_cpus()) 37#define TARGET_CPUS (target_cpus())
40#define wakeup_secondary_cpu wakeup_secondary_cpu_via_init 38#define wakeup_secondary_cpu wakeup_secondary_cpu_via_init
41/* 39/*
diff --git a/arch/x86/mach-generic/default.c b/arch/x86/mach-generic/default.c
index 0482106f0e19..fe97b0114a06 100644
--- a/arch/x86/mach-generic/default.c
+++ b/arch/x86/mach-generic/default.c
@@ -31,8 +31,9 @@ struct genapic apic_default = {
31 .acpi_madt_oem_check = NULL, 31 .acpi_madt_oem_check = NULL,
32 .apic_id_registered = default_apic_id_registered, 32 .apic_id_registered = default_apic_id_registered,
33 33
34 .irq_delivery_mode = DEFAULT_IRQ_DELIVERY_MODE, 34 .irq_delivery_mode = dest_LowestPrio,
35 .irq_dest_mode = DEFAULT_IRQ_DEST_MODE, 35 /* logical delivery broadcast to all CPUs: */
36 .irq_dest_mode = 1,
36 37
37 .target_cpus = target_cpus, 38 .target_cpus = target_cpus,
38 .ESR_DISABLE = esr_disable, 39 .ESR_DISABLE = esr_disable,