Sebastian Macke d51552176a openrisc-timer: Reduce overhead, Separate clock update functions
The clock value is only evaluated when really necessary reducing
the overhead of the timer handling.

This also solves a problem in the way the Linux kernel
handles the timer and the expected accuracy.
The old version could lead to inaccurate timings.

Signed-off-by: Sebastian Macke <sebastian@macke.de>
Reviewed-by: Jia Liu <proljc@gmail.com>
Signed-off-by: Jia Liu <proljc@gmail.com>
2013-11-20 21:46:45 +08:00
..
2013-11-05 19:57:46 -08:00
2013-10-31 16:58:32 +01:00
2013-11-05 19:57:47 -08:00
2013-11-05 20:01:11 -08:00
2013-07-29 21:06:57 +02:00
2013-07-29 21:07:02 +02:00
2013-11-19 12:59:48 -08:00
2013-11-05 19:57:47 -08:00
2013-10-14 17:48:52 +03:00
2013-09-03 12:31:07 -05:00
2013-07-29 21:07:01 +02:00
2013-11-05 20:04:03 -08:00
2013-08-22 19:10:27 +02:00
2013-09-03 12:31:07 -05:00