[PATCH] remove int_delivery_dest
authorJan Beulich <jbeulich@novell.com>
Tue, 26 Sep 2006 08:52:31 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:31 +0000 (10:52 +0200)
The genapic field and the accessor macro weren't used anywhere.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/genapic_cluster.c
arch/x86_64/kernel/genapic_flat.c
include/asm-x86_64/genapic.h
include/asm-x86_64/mach_apic.h

index 3020917546de09ccd9b2432a0a06b8f6f2e1feaf..cdb90e671b88a7bc96064f6af8ca48afc4768dea 100644 (file)
@@ -118,7 +118,6 @@ struct genapic apic_cluster = {
        .name = "clustered",
        .int_delivery_mode = dest_Fixed,
        .int_dest_mode = (APIC_DEST_PHYSICAL != 0),
-       .int_delivery_dest = APIC_DEST_PHYSICAL | APIC_DM_FIXED,
        .target_cpus = cluster_target_cpus,
        .apic_id_registered = cluster_apic_id_registered,
        .init_apic_ldr = cluster_init_apic_ldr,
index eb86d374813a3038c0b5299f6dae861b2bd4b33d..2ceb8b872b5798ae8df993c0dfc2c4ebd1404e6c 100644 (file)
@@ -121,7 +121,6 @@ struct genapic apic_flat =  {
        .name = "flat",
        .int_delivery_mode = dest_LowestPrio,
        .int_dest_mode = (APIC_DEST_LOGICAL != 0),
-       .int_delivery_dest = APIC_DEST_LOGICAL | APIC_DM_LOWEST,
        .target_cpus = flat_target_cpus,
        .apic_id_registered = flat_apic_id_registered,
        .init_apic_ldr = flat_init_apic_ldr,
@@ -180,7 +179,6 @@ struct genapic apic_physflat =  {
        .name = "physical flat",
        .int_delivery_mode = dest_Fixed,
        .int_dest_mode = (APIC_DEST_PHYSICAL != 0),
-       .int_delivery_dest = APIC_DEST_PHYSICAL | APIC_DM_FIXED,
        .target_cpus = physflat_target_cpus,
        .apic_id_registered = flat_apic_id_registered,
        .init_apic_ldr = flat_init_apic_ldr,/*not needed, but shouldn't hurt*/
index 50b38e7c58e4f5fa226dacbb9df86459d48a7978..81e714665344623c9990199a5faaee15261b397b 100644 (file)
@@ -16,7 +16,6 @@ struct genapic {
        char *name;
        u32 int_delivery_mode;
        u32 int_dest_mode;
-       u32 int_delivery_dest;  /* for quick IPIs */
        int (*apic_id_registered)(void);
        cpumask_t (*target_cpus)(void);
        void (*init_apic_ldr)(void);
index 0acea44c93775f69d00cfcf96a228b9cf157cdda..d33422450c00a3bc677246c1cd561ac425e00ad5 100644 (file)
@@ -16,7 +16,6 @@
 
 #define INT_DELIVERY_MODE (genapic->int_delivery_mode)
 #define INT_DEST_MODE (genapic->int_dest_mode)
-#define INT_DELIVERY_DEST (genapic->int_delivery_dest)
 #define TARGET_CPUS      (genapic->target_cpus())
 #define apic_id_registered (genapic->apic_id_registered)
 #define init_apic_ldr (genapic->init_apic_ldr)