diff options
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r-- | include/linux/interrupt.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 8834a7e5b944..051c85032f48 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -210,7 +210,7 @@ extern int __irq_set_affinity(unsigned int irq, const struct cpumask *cpumask, | |||
210 | /** | 210 | /** |
211 | * irq_set_affinity - Set the irq affinity of a given irq | 211 | * irq_set_affinity - Set the irq affinity of a given irq |
212 | * @irq: Interrupt to set affinity | 212 | * @irq: Interrupt to set affinity |
213 | * @mask: cpumask | 213 | * @cpumask: cpumask |
214 | * | 214 | * |
215 | * Fails if cpumask does not contain an online CPU | 215 | * Fails if cpumask does not contain an online CPU |
216 | */ | 216 | */ |
@@ -223,7 +223,7 @@ irq_set_affinity(unsigned int irq, const struct cpumask *cpumask) | |||
223 | /** | 223 | /** |
224 | * irq_force_affinity - Force the irq affinity of a given irq | 224 | * irq_force_affinity - Force the irq affinity of a given irq |
225 | * @irq: Interrupt to set affinity | 225 | * @irq: Interrupt to set affinity |
226 | * @mask: cpumask | 226 | * @cpumask: cpumask |
227 | * | 227 | * |
228 | * Same as irq_set_affinity, but without checking the mask against | 228 | * Same as irq_set_affinity, but without checking the mask against |
229 | * online cpus. | 229 | * online cpus. |
@@ -272,6 +272,11 @@ static inline int irq_set_affinity(unsigned int irq, const struct cpumask *m) | |||
272 | return -EINVAL; | 272 | return -EINVAL; |
273 | } | 273 | } |
274 | 274 | ||
275 | static inline int irq_force_affinity(unsigned int irq, const struct cpumask *cpumask) | ||
276 | { | ||
277 | return 0; | ||
278 | } | ||
279 | |||
275 | static inline int irq_can_set_affinity(unsigned int irq) | 280 | static inline int irq_can_set_affinity(unsigned int irq) |
276 | { | 281 | { |
277 | return 0; | 282 | return 0; |