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

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

Merge "kernel: tick-sched: Add API to get the next wakeup for a CPU" into msm-next

parents df4bf2cc f024061b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -294,4 +294,5 @@ static inline void tick_nohz_task_switch(void)
		__tick_nohz_task_switch();
}

ktime_t *get_next_event_cpu(unsigned int cpu);
#endif
+5 −0
Original line number Diff line number Diff line
@@ -1327,3 +1327,8 @@ int tick_check_oneshot_change(int allow_nohz)
	tick_nohz_switch_to_nohz();
	return 0;
}

ktime_t *get_next_event_cpu(unsigned int cpu)
{
	return &(per_cpu(tick_cpu_device, cpu).evtdev->next_event);
}