forked from Minki/linux
[PATCH] remove int_delivery_dest
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>
This commit is contained in:
parent
caff0710eb
commit
3b94355c47
@ -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,
|
||||
|
@ -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*/
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user