diff options
author | David Engraf <david.engraf@sysgo.com> | 2017-01-11 14:50:59 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-02-07 20:58:30 +0100 |
commit | 7b9f1d16e6d1268ed45d98b36c77f8920e7a209e (patch) | |
tree | 3a7150bf92e557609672906774f7e1e32a87127b /crypto/vmac.c | |
parent | 4750535bc94b86fde06b0e698d6bac738b020be4 (diff) | |
download | lwn-7b9f1d16e6d1268ed45d98b36c77f8920e7a209e.tar.gz lwn-7b9f1d16e6d1268ed45d98b36c77f8920e7a209e.zip |
clocksource/drivers/tcb_clksrc: Use 32 bit tcb as sched_clock
On newer boards the TC can be read as single 32 bit value without locking.
Thus the clock can be used as reference for sched_clock which is much more
accurate than the jiffies implementation.
Tested on a Atmel SAMA5D2 board.
Signed-off-by: David Engraf <david.engraf@sysgo.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'crypto/vmac.c')
0 files changed, 0 insertions, 0 deletions