We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2cf750 commit 56c2cb1Copy full SHA for 56c2cb1
kernel/time/hrtimer.c
@@ -38,6 +38,7 @@
38
#include <linux/sched/deadline.h>
39
#include <linux/sched/nohz.h>
40
#include <linux/sched/debug.h>
41
+#include <linux/sched/isolation.h>
42
#include <linux/timer.h>
43
#include <linux/freezer.h>
44
#include <linux/compat.h>
@@ -2225,8 +2226,8 @@ static void migrate_hrtimer_list(struct hrtimer_clock_base *old_base,
2225
2226
2227
int hrtimers_cpu_dying(unsigned int dying_cpu)
2228
{
2229
+ int i, ncpu = cpumask_any_and(cpu_active_mask, housekeeping_cpumask(HK_TYPE_TIMER));
2230
struct hrtimer_cpu_base *old_base, *new_base;
- int i, ncpu = cpumask_first(cpu_active_mask);
2231
2232
tick_cancel_sched_timer(dying_cpu);
2233
0 commit comments