diff options
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 9 | ||||
-rw-r--r-- | arch/x86/platform/uv/uv_irq.c | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index ac96561d1a99..bce2001b2644 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -2270,6 +2270,7 @@ ioapic_set_affinity(struct irq_data *data, const struct cpumask *mask, | |||
2270 | /* Only the high 8 bits are valid. */ | 2270 | /* Only the high 8 bits are valid. */ |
2271 | dest = SET_APIC_LOGICAL_ID(dest); | 2271 | dest = SET_APIC_LOGICAL_ID(dest); |
2272 | __target_IO_APIC_irq(irq, dest, data->chip_data); | 2272 | __target_IO_APIC_irq(irq, dest, data->chip_data); |
2273 | ret = IRQ_SET_MASK_OK_NOCOPY; | ||
2273 | } | 2274 | } |
2274 | raw_spin_unlock_irqrestore(&ioapic_lock, flags); | 2275 | raw_spin_unlock_irqrestore(&ioapic_lock, flags); |
2275 | return ret; | 2276 | return ret; |
@@ -3092,7 +3093,7 @@ msi_set_affinity(struct irq_data *data, const struct cpumask *mask, bool force) | |||
3092 | 3093 | ||
3093 | __write_msi_msg(data->msi_desc, &msg); | 3094 | __write_msi_msg(data->msi_desc, &msg); |
3094 | 3095 | ||
3095 | return 0; | 3096 | return IRQ_SET_MASK_OK_NOCOPY; |
3096 | } | 3097 | } |
3097 | #endif /* CONFIG_SMP */ | 3098 | #endif /* CONFIG_SMP */ |
3098 | 3099 | ||
@@ -3214,7 +3215,7 @@ dmar_msi_set_affinity(struct irq_data *data, const struct cpumask *mask, | |||
3214 | 3215 | ||
3215 | dmar_msi_write(irq, &msg); | 3216 | dmar_msi_write(irq, &msg); |
3216 | 3217 | ||
3217 | return 0; | 3218 | return IRQ_SET_MASK_OK_NOCOPY; |
3218 | } | 3219 | } |
3219 | 3220 | ||
3220 | #endif /* CONFIG_SMP */ | 3221 | #endif /* CONFIG_SMP */ |
@@ -3267,7 +3268,7 @@ static int hpet_msi_set_affinity(struct irq_data *data, | |||
3267 | 3268 | ||
3268 | hpet_msi_write(data->handler_data, &msg); | 3269 | hpet_msi_write(data->handler_data, &msg); |
3269 | 3270 | ||
3270 | return 0; | 3271 | return IRQ_SET_MASK_OK_NOCOPY; |
3271 | } | 3272 | } |
3272 | 3273 | ||
3273 | #endif /* CONFIG_SMP */ | 3274 | #endif /* CONFIG_SMP */ |
@@ -3340,7 +3341,7 @@ ht_set_affinity(struct irq_data *data, const struct cpumask *mask, bool force) | |||
3340 | return -1; | 3341 | return -1; |
3341 | 3342 | ||
3342 | target_ht_irq(data->irq, dest, cfg->vector); | 3343 | target_ht_irq(data->irq, dest, cfg->vector); |
3343 | return 0; | 3344 | return IRQ_SET_MASK_OK_NOCOPY; |
3344 | } | 3345 | } |
3345 | 3346 | ||
3346 | #endif | 3347 | #endif |
diff --git a/arch/x86/platform/uv/uv_irq.c b/arch/x86/platform/uv/uv_irq.c index f25c2765a5c9..a22c41656b52 100644 --- a/arch/x86/platform/uv/uv_irq.c +++ b/arch/x86/platform/uv/uv_irq.c | |||
@@ -222,7 +222,7 @@ uv_set_irq_affinity(struct irq_data *data, const struct cpumask *mask, | |||
222 | if (cfg->move_in_progress) | 222 | if (cfg->move_in_progress) |
223 | send_cleanup_vector(cfg); | 223 | send_cleanup_vector(cfg); |
224 | 224 | ||
225 | return 0; | 225 | return IRQ_SET_MASK_OK_NOCOPY; |
226 | } | 226 | } |
227 | 227 | ||
228 | /* | 228 | /* |