sched: make cpu_clock() globally synchronous