Skip to content
Commit 9c9b415c authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Reimplement get_cycles().

This essentially reverts commit efb9ca08


(kernel.org) / 58020a106879a8b372068741c81f0015c9b0b96dbv [[MIPS] Change
get_cycles to always return 0.]

Most users of get_cycles() invoke it as a timing interface.  That's why
in modern kernels it was never very much missed for.  /dev/random however
uses get_cycles() in the how the jitter in the interrupt timing contains
some useful entropy.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 69f24d17
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment