Searched refs:default_cpu (Results 1 – 3 of 3) sorted by relevance
1065 int i, cpu = smp_processor_id(), default_cpu = -1;1072 default_cpu = cpu;1077 - if (default_cpu == -1)1078 - default_cpu = housekeeping_any_cpu(HK_FLAG_TIMER);1079 + if (default_cpu == -1) {1092 + default_cpu = cpumask_any(cpu_active_mask);1094 + if (unlikely(default_cpu >= nr_cpu_ids))1098 cpu = default_cpu;
107 static const struct cpu_dev default_cpu = { variable113 static const struct cpu_dev *this_cpu = &default_cpu;820 this_cpu = &default_cpu; in get_cpu_vendor()
663 int i, cpu = smp_processor_id(), default_cpu = -1; in get_nohz_timer_target() local669 default_cpu = cpu; in get_nohz_timer_target()686 if (default_cpu == -1) in get_nohz_timer_target()687 default_cpu = housekeeping_any_cpu(HK_FLAG_TIMER); in get_nohz_timer_target()688 cpu = default_cpu; in get_nohz_timer_target()