]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86, apic: remove BIGSMP_IRQ_DELIVERY_MODE and BIGSMP_IRQ_DEST_MODE
authorIngo Molnar <mingo@elte.hu>
Wed, 28 Jan 2009 03:16:01 +0000 (04:16 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 28 Jan 2009 22:20:15 +0000 (23:20 +0100)
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>
arch/x86/include/asm/bigsmp/apic.h
arch/x86/mach-generic/bigsmp.c

index 293551b0e610b6b278555ddf648568769912ce25..dca2d5b01daa6bbe008964b235761956102452d7 100644 (file)
@@ -21,8 +21,6 @@ static inline const cpumask_t *target_cpus(void)
 #undef APIC_DEST_LOGICAL
 #define APIC_DEST_LOGICAL      0
 #define APIC_DFR_VALUE         (APIC_DFR_FLAT)
-#define BIGSMP_IRQ_DELIVERY_MODE (dest_Fixed)
-#define BIGSMP_IRQ_DEST_MODE   (0)    /* phys delivery to target proc */
 #define NO_BALANCE_IRQ         (0)
 
 static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid)
index e8c1ceca7c94d2b7bb7f0acea3c256b47f7a6ba0..06be776067ada89016d0d3e1f34c237888fd1eb2 100644 (file)
@@ -64,8 +64,9 @@ struct genapic apic_bigsmp = {
        .acpi_madt_oem_check            = NULL,
        .apic_id_registered             = bigsmp_apic_id_registered,
 
-       .irq_delivery_mode              = BIGSMP_IRQ_DELIVERY_MODE,
-       .irq_dest_mode                  = BIGSMP_IRQ_DEST_MODE,
+       .irq_delivery_mode              = dest_Fixed,
+       /* phys delivery to target CPU: */
+       .irq_dest_mode                  = 0,
 
        .target_cpus                    = target_cpus,
        .ESR_DISABLE                    = esr_disable,