OSDN Git Service

clocksource/drivers/tcb_clksrc: Use tcb as sched_clock
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 26 Apr 2019 21:47:12 +0000 (23:47 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 2 May 2019 19:55:58 +0000 (21:55 +0200)
commitf712a1e8e59e8f42b5a9ec3887a4ad079bb18175
treeaa753707d19573143e78a9104fdefbda19c8ea4e
parent86232bfd28d71db4a50562cf81ff88ef58a6d401
clocksource/drivers/tcb_clksrc: Use tcb as sched_clock

Now that the driver is registered early enough, use the TCB as the
sched_clock which is much more accurate than the jiffies implementation.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/tcb_clksrc.c