]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86, apic: remove SUMMIT_IRQ_DELIVERY_MODE and SUMMIT_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:14 +0000 (23:20 +0100)
Impact: cleanup

They were only used in a single place and obscured the apic_summit template.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/summit/apic.h
arch/x86/mach-generic/summit.c

index ea2abe9b5979ce42fab1b959a1648234b1e63054..427d0889f6f219cde10356bcc3247bb6b6645a9e 100644 (file)
@@ -24,9 +24,6 @@ static inline const cpumask_t *target_cpus(void)
        return &cpumask_of_cpu(0);
 }
 
-#define SUMMIT_IRQ_DELIVERY_MODE (dest_LowestPrio)
-#define SUMMIT_IRQ_DEST_MODE 1     /* logical delivery broadcast to all procs */
-
 static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid)
 {
        return 0;
index 7b3f43caf2ae8b12f6a80b2ac03478624746f400..1b9164b92b0a1cee358e249c84fd490390b00f2d 100644 (file)
@@ -44,8 +44,9 @@ struct genapic apic_summit = {
        .acpi_madt_oem_check            = summit_acpi_madt_oem_check,
        .apic_id_registered             = summit_apic_id_registered,
 
-       .irq_delivery_mode              = SUMMIT_IRQ_DELIVERY_MODE,
-       .irq_dest_mode                  = SUMMIT_IRQ_DEST_MODE,
+       .irq_delivery_mode              = dest_LowestPrio,
+       /* logical delivery broadcast to all CPUs: */
+       .irq_dest_mode                  = 1,
 
        .target_cpus                    = target_cpus,
        .ESR_DISABLE                    = esr_disable,