search for: __sched_clock_offset

Displaying 1 result from an estimated 1 matches for "__sched_clock_offset".

2018 Nov 06
0
[PATCH v15 23/26] sched: early boot clock
...is set adjust scd */ > + local_irq_save(flags); > + sched_clock_tick(); > + local_irq_restore(flags); > } > /* > * We run this as late_initcall() such that it runs after all built-in drivers, > @@ -356,7 +374,7 @@ u64 sched_clock_cpu(int cpu) > return sched_clock() + __sched_clock_offset; > > if (unlikely(!sched_clock_running)) > - return 0ull; > + return sched_clock(); > > preempt_disable_notrace(); > scd = cpu_sdc(cpu); -- Dominique Martinet | Asmadeus