aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r--include/linux/interrupt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index f58a0cf8929a..48e63934fabe 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -109,13 +109,13 @@ extern void enable_irq(unsigned int irq);
109 109
110extern cpumask_t irq_default_affinity; 110extern cpumask_t irq_default_affinity;
111 111
112extern int irq_set_affinity(unsigned int irq, cpumask_t cpumask); 112extern int irq_set_affinity(unsigned int irq, const struct cpumask *cpumask);
113extern int irq_can_set_affinity(unsigned int irq); 113extern int irq_can_set_affinity(unsigned int irq);
114extern int irq_select_affinity(unsigned int irq); 114extern int irq_select_affinity(unsigned int irq);
115 115
116#else /* CONFIG_SMP */ 116#else /* CONFIG_SMP */
117 117
118static inline int irq_set_affinity(unsigned int irq, cpumask_t cpumask) 118static inline int irq_set_affinity(unsigned int irq, const struct cpumask *m)
119{ 119{
120 return -EINVAL; 120 return -EINVAL;
121} 121}