diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-27 22:09:58 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:13 -0500 |
commit | 9b5bc8dc12421a4b17047061f473d85c1797d543 (patch) | |
tree | 69799378fb9e55dd8c23ceb39c646d7bf47523f8 /arch/x86/include/asm/es7000 | |
parent | f8987a1093cc7a896137e264c24e04d4048e9f95 (diff) |
x86, apic: remove IRQ_DEST_MODE / IRQ_DELIVERY_MODE
Remove the wrapper macros IRQ_DEST_MODE and IRQ_DELIVERY_MODE.
The typical 32-bit and the 64-bit build all dereference via the genapic,
so it's pointless to hide that indirection via these ugly macros.
Furthermore, it also obscures subarchitecture details.
So replace it with apic->irq_dest_mode / etc. accesses.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/es7000')
-rw-r--r-- | arch/x86/include/asm/es7000/apic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/es7000/apic.h b/arch/x86/include/asm/es7000/apic.h index 830e8731cc05..690016683f21 100644 --- a/arch/x86/include/asm/es7000/apic.h +++ b/arch/x86/include/asm/es7000/apic.h | |||
@@ -27,8 +27,8 @@ static inline const cpumask_t *target_cpus(void) | |||
27 | #define NO_BALANCE_IRQ_CLUSTER (1) | 27 | #define NO_BALANCE_IRQ_CLUSTER (1) |
28 | 28 | ||
29 | #define APIC_DFR_VALUE (APIC_DFR_FLAT) | 29 | #define APIC_DFR_VALUE (APIC_DFR_FLAT) |
30 | #define IRQ_DELIVERY_MODE (dest_Fixed) | 30 | #define ES7000_IRQ_DELIVERY_MODE (dest_Fixed) |
31 | #define IRQ_DEST_MODE (0) /* phys delivery to target procs */ | 31 | #define ES7000_IRQ_DEST_MODE (0) /* phys delivery to target procs */ |
32 | #define NO_BALANCE_IRQ (0) | 32 | #define NO_BALANCE_IRQ (0) |
33 | #undef APIC_DEST_LOGICAL | 33 | #undef APIC_DEST_LOGICAL |
34 | #define APIC_DEST_LOGICAL 0x0 | 34 | #define APIC_DEST_LOGICAL 0x0 |