From: Herbert Xu Date: Wed, 22 Jun 2005 20:29:03 +0000 (-0700) Subject: [CRYPTO]: Use CPU cycle counters in tcrypt X-Git-Tag: v2.6.13-rc1~68^2~534^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a17944ca12229036a6d8d48be1b5eb51204fcf8;p=pandora-kernel.git [CRYPTO]: Use CPU cycle counters in tcrypt After using this facility for a while to test my changes to the cipher crypt() layer, I realised that I should've listend to Dave and made this thing use CPU cycle counters :) As it is it's too jittery for me to feel safe about relying on the results. So here is a patch to make it use CPU cycles by default but fall back to jiffies if the user specifies a non-zero sec value. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed