|
@@ -25,10 +25,6 @@ int no_x2apic_optout;
|
|
|
static int disable_irq_remap;
|
|
|
static struct irq_remap_ops *remap_ops;
|
|
|
|
|
|
-static int set_remapped_irq_affinity(struct irq_data *data,
|
|
|
- const struct cpumask *mask,
|
|
|
- bool force);
|
|
|
-
|
|
|
static bool irq_remapped(struct irq_cfg *cfg)
|
|
|
{
|
|
|
return (cfg->remapped == 1);
|
|
@@ -61,7 +57,6 @@ static void eoi_ioapic_pin_remapped(int apic, int pin, int vector)
|
|
|
static void __init irq_remapping_modify_x86_ops(void)
|
|
|
{
|
|
|
x86_io_apic_ops.disable = irq_remapping_disable_io_apic;
|
|
|
- x86_io_apic_ops.set_affinity = set_remapped_irq_affinity;
|
|
|
x86_io_apic_ops.eoi_ioapic_pin = eoi_ioapic_pin_remapped;
|
|
|
}
|
|
|
|
|
@@ -157,15 +152,6 @@ int __init irq_remap_enable_fault_handling(void)
|
|
|
return remap_ops->enable_faulting();
|
|
|
}
|
|
|
|
|
|
-static int set_remapped_irq_affinity(struct irq_data *data,
|
|
|
- const struct cpumask *mask, bool force)
|
|
|
-{
|
|
|
- if (!config_enabled(CONFIG_SMP) || !remap_ops->set_affinity)
|
|
|
- return 0;
|
|
|
-
|
|
|
- return remap_ops->set_affinity(data, mask, force);
|
|
|
-}
|
|
|
-
|
|
|
void free_remapped_irq(int irq)
|
|
|
{
|
|
|
struct irq_cfg *cfg = irq_cfg(irq);
|
|
@@ -201,7 +187,6 @@ void irq_remap_modify_chip_defaults(struct irq_chip *chip)
|
|
|
chip->irq_print_chip = ir_print_prefix;
|
|
|
chip->irq_ack = ir_ack_apic_edge;
|
|
|
chip->irq_eoi = ir_ack_apic_level;
|
|
|
- chip->irq_set_affinity = x86_io_apic_ops.set_affinity;
|
|
|
}
|
|
|
|
|
|
bool setup_remapped_irq(int irq, struct irq_cfg *cfg, struct irq_chip *chip)
|