File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -337,10 +337,10 @@ static int __irq_build_affinity_masks(unsigned int startvec,
337
337
* 2) spread other possible CPUs on these vectors
338
338
*/
339
339
static int irq_build_affinity_masks (unsigned int startvec , unsigned int numvecs ,
340
- unsigned int firstvec ,
341
340
struct irq_affinity_desc * masks )
342
341
{
343
342
unsigned int curvec = startvec , nr_present = 0 , nr_others = 0 ;
343
+ unsigned int firstvec = startvec ;
344
344
cpumask_var_t * node_to_cpumask ;
345
345
cpumask_var_t nmsk , npresmsk ;
346
346
int ret = - ENOMEM ;
@@ -463,8 +463,7 @@ irq_create_affinity_masks(unsigned int nvecs, struct irq_affinity *affd)
463
463
unsigned int this_vecs = affd -> set_size [i ];
464
464
int ret ;
465
465
466
- ret = irq_build_affinity_masks (curvec , this_vecs ,
467
- curvec , masks );
466
+ ret = irq_build_affinity_masks (curvec , this_vecs , masks );
468
467
if (ret ) {
469
468
kfree (masks );
470
469
return NULL ;
You can’t perform that action at this time.
0 commit comments