diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-27 23:13:04 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:18 -0500 |
commit | 0b06e734bff7554c31eac4aad2fc9be4adb7c1c1 (patch) | |
tree | 52b3f9ccf6d85e503cf949c888ded6722c66e3a3 /arch/x86/include/asm/mach-generic/mach_apic.h | |
parent | 08125d3edab90644724652eedec3e219e3e0f2e7 (diff) |
x86: clean up the APIC_DEST_LOGICAL logic
Impact: cleanup
The bigsmp and es7000 subarchitectures un-defined APIC_DEST_LOGICAL in
a rather nasty way by re-defining it to zero. That is infinitely
fragile and makes it very hard to see what to code really does in
a given context. The very same constant has different meanings and
values - depending on which subarch is enabled.
Untangle this mess by never undefining the constant, but instead
propagating the right values into the genapic driver templates.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/mach-generic/mach_apic.h')
-rw-r--r-- | arch/x86/include/asm/mach-generic/mach_apic.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/mach-generic/mach_apic.h b/arch/x86/include/asm/mach-generic/mach_apic.h index 63fe985219f..00d5fe6e676 100644 --- a/arch/x86/include/asm/mach-generic/mach_apic.h +++ b/arch/x86/include/asm/mach-generic/mach_apic.h | |||
@@ -4,8 +4,6 @@ | |||
4 | #include <asm/genapic.h> | 4 | #include <asm/genapic.h> |
5 | 5 | ||
6 | #define NO_BALANCE_IRQ (apic->no_balance_irq) | 6 | #define NO_BALANCE_IRQ (apic->no_balance_irq) |
7 | #undef APIC_DEST_LOGICAL | ||
8 | #define APIC_DEST_LOGICAL (apic->apic_destination_logical) | ||
9 | #define init_apic_ldr (apic->init_apic_ldr) | 7 | #define init_apic_ldr (apic->init_apic_ldr) |
10 | #define ioapic_phys_id_map (apic->ioapic_phys_id_map) | 8 | #define ioapic_phys_id_map (apic->ioapic_phys_id_map) |
11 | #define setup_apic_routing (apic->setup_apic_routing) | 9 | #define setup_apic_routing (apic->setup_apic_routing) |