File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -879,16 +879,16 @@ static inline int irq_data_get_node(struct irq_data *d)
879
879
return irq_common_data_get_node (d -> common );
880
880
}
881
881
882
- static inline struct cpumask * irq_get_affinity_mask ( int irq )
882
+ static inline struct cpumask * irq_data_get_affinity_mask ( struct irq_data * d )
883
883
{
884
- struct irq_data * d = irq_get_irq_data (irq );
885
-
886
- return d ? d -> common -> affinity : NULL ;
884
+ return d -> common -> affinity ;
887
885
}
888
886
889
- static inline struct cpumask * irq_data_get_affinity_mask ( struct irq_data * d )
887
+ static inline struct cpumask * irq_get_affinity_mask ( int irq )
890
888
{
891
- return d -> common -> affinity ;
889
+ struct irq_data * d = irq_get_irq_data (irq );
890
+
891
+ return d ? irq_data_get_affinity_mask (d ) : NULL ;
892
892
}
893
893
894
894
#ifdef CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK
@@ -910,7 +910,7 @@ static inline void irq_data_update_effective_affinity(struct irq_data *d,
910
910
static inline
911
911
struct cpumask * irq_data_get_effective_affinity_mask (struct irq_data * d )
912
912
{
913
- return d -> common -> affinity ;
913
+ return irq_data_get_affinity_mask ( d ) ;
914
914
}
915
915
#endif
916
916
You can’t perform that action at this time.
0 commit comments