diff options
author | Stephan Mueller <smueller@chronox.de> | 2015-05-27 13:50:12 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-28 11:23:21 +0800 |
commit | cf58fcb1bea9e0fcf3447bdb959ef5bcd22cfbcb (patch) | |
tree | 5c3aabdde99e642b04e158b08ecd0c3184b458da /crypto | |
parent | 19fa77522e45e384be0f0f93b10c928763460ae3 (diff) | |
download | lwn-cf58fcb1bea9e0fcf3447bdb959ef5bcd22cfbcb.tar.gz lwn-cf58fcb1bea9e0fcf3447bdb959ef5bcd22cfbcb.zip |
crypto: jitterentropy - remove timekeeping_valid_for_hres
The patch removes the use of timekeeping_valid_for_hres which is now
marked as internal for the time keeping subsystem. The jitterentropy
does not really require this verification as a coarse timer (when
random_get_entropy is absent) is discovered by the initialization test
of jent_entropy_init, which would cause the jitter rng to not load in
that case.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/jitterentropy.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/jitterentropy.c b/crypto/jitterentropy.c index 1ebe58a26619..a60147e4bb3f 100644 --- a/crypto/jitterentropy.c +++ b/crypto/jitterentropy.c @@ -131,9 +131,6 @@ static inline void jent_get_nstime(__u64 *out) * and are registered with clocksource_register() */ if ((0 == tmp) && -#ifndef MODULE - (0 == timekeeping_valid_for_hres()) && -#endif (0 == __getnstimeofday(&ts))) { tmp = ts.tv_sec; tmp = tmp << 32; |