Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07866af9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hrtimer: Reset hrtimer cpu base proper on CPU hotplug"

parents 5fc8edeb ac3ab963
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -669,7 +669,9 @@ static void hrtimer_reprogram(struct hrtimer *timer,
static inline void hrtimer_init_hres(struct hrtimer_cpu_base *base)
{
	base->expires_next.tv64 = KTIME_MAX;
	base->hang_detected = 0;
	base->hres_active = 0;
	base->next_timer = NULL;
}

/*
@@ -1587,6 +1589,7 @@ static void init_hrtimers_cpu(int cpu)
		timerqueue_init_head(&cpu_base->clock_base[i].active);
	}

	cpu_base->active_bases = 0;
	cpu_base->cpu = cpu;
	hrtimer_init_hres(cpu_base);
}