random32: use msecs_to_jiffies for reseed timer
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 12 Nov 2013 22:45:42 +0000 (23:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 21:06:02 +0000 (16:06 -0500)
commit0125737accc5aac532719aecd80615364caa9e0f
tree2f592b7a2597b93ad262945d3deca0d169ef5e1b
parent66b251422be7cb39e7619fee647724720f74d1f7
random32: use msecs_to_jiffies for reseed timer

Use msecs_to_jiffies, for these calculations as different HZ
considerations are taken into account for conversion of the timer
shot, and also it makes the code more readable.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/random32.c