« Previous | Next » 

Revision d5155217

IDd51552176a2ab5e80a211514aa1339fe2575ec2a

Added by Sebastian Macke over 10 years ago

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 <>
Reviewed-by: Jia Liu <>
Signed-off-by: Jia Liu <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences