88 */
99#include "sched.h"
1010
11- DEFINE_STATIC_KEY_FALSE (housekeeping_overriden );
12- EXPORT_SYMBOL_GPL (housekeeping_overriden );
11+ DEFINE_STATIC_KEY_FALSE (housekeeping_overridden );
12+ EXPORT_SYMBOL_GPL (housekeeping_overridden );
1313static cpumask_var_t housekeeping_mask ;
1414static unsigned int housekeeping_flags ;
1515
1616int housekeeping_any_cpu (enum hk_flags flags )
1717{
18- if (static_branch_unlikely (& housekeeping_overriden ))
18+ if (static_branch_unlikely (& housekeeping_overridden ))
1919 if (housekeeping_flags & flags )
2020 return cpumask_any_and (housekeeping_mask , cpu_online_mask );
2121 return smp_processor_id ();
@@ -24,7 +24,7 @@ EXPORT_SYMBOL_GPL(housekeeping_any_cpu);
2424
2525const struct cpumask * housekeeping_cpumask (enum hk_flags flags )
2626{
27- if (static_branch_unlikely (& housekeeping_overriden ))
27+ if (static_branch_unlikely (& housekeeping_overridden ))
2828 if (housekeeping_flags & flags )
2929 return housekeeping_mask ;
3030 return cpu_possible_mask ;
@@ -33,15 +33,15 @@ EXPORT_SYMBOL_GPL(housekeeping_cpumask);
3333
3434void housekeeping_affine (struct task_struct * t , enum hk_flags flags )
3535{
36- if (static_branch_unlikely (& housekeeping_overriden ))
36+ if (static_branch_unlikely (& housekeeping_overridden ))
3737 if (housekeeping_flags & flags )
3838 set_cpus_allowed_ptr (t , housekeeping_mask );
3939}
4040EXPORT_SYMBOL_GPL (housekeeping_affine );
4141
4242bool housekeeping_test_cpu (int cpu , enum hk_flags flags )
4343{
44- if (static_branch_unlikely (& housekeeping_overriden ))
44+ if (static_branch_unlikely (& housekeeping_overridden ))
4545 if (housekeeping_flags & flags )
4646 return cpumask_test_cpu (cpu , housekeeping_mask );
4747 return true;
@@ -53,7 +53,7 @@ void __init housekeeping_init(void)
5353 if (!housekeeping_flags )
5454 return ;
5555
56- static_branch_enable (& housekeeping_overriden );
56+ static_branch_enable (& housekeeping_overridden );
5757
5858 if (housekeeping_flags & HK_FLAG_TICK )
5959 sched_tick_offload_init ();
0 commit comments