File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ static inline unsigned int cpumask_last(const struct cpumask *srcp)
235
235
return find_last_bit (cpumask_bits (srcp ), nr_cpumask_bits );
236
236
}
237
237
238
- unsigned int cpumask_next (int n , const struct cpumask * srcp );
238
+ unsigned int __pure cpumask_next (int n , const struct cpumask * srcp );
239
239
240
240
/**
241
241
* cpumask_next_zero - get the next unset cpu in a cpumask
@@ -252,8 +252,8 @@ static inline unsigned int cpumask_next_zero(int n, const struct cpumask *srcp)
252
252
return find_next_zero_bit (cpumask_bits (srcp ), nr_cpumask_bits , n + 1 );
253
253
}
254
254
255
- int cpumask_next_and (int n , const struct cpumask * , const struct cpumask * );
256
- int cpumask_any_but (const struct cpumask * mask , unsigned int cpu );
255
+ int __pure cpumask_next_and (int n , const struct cpumask * , const struct cpumask * );
256
+ int __pure cpumask_any_but (const struct cpumask * mask , unsigned int cpu );
257
257
unsigned int cpumask_local_spread (unsigned int i , int node );
258
258
int cpumask_any_and_distribute (const struct cpumask * src1p ,
259
259
const struct cpumask * src2p );
You can’t perform that action at this time.
0 commit comments