X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=crypto%2Fjitterentropy-kcapi.c;h=701b8d86ab49d6be8365ab25dcaf2e603964555c;hb=bdb275bb6486d19888cb669fedd7d3eea2031669;hp=6ea1a270b8dc2e9890aa1f4a29bd0a45c2a481ae;hpb=22c58fd70ca48a29505922b1563826593b08cc00;p=linux-2.6-block.git diff --git a/crypto/jitterentropy-kcapi.c b/crypto/jitterentropy-kcapi.c index 6ea1a270b8dc..701b8d86ab49 100644 --- a/crypto/jitterentropy-kcapi.c +++ b/crypto/jitterentropy-kcapi.c @@ -56,11 +56,6 @@ void jent_entropy_collector_free(struct rand_data *entropy_collector); * Helper function ***************************************************************************/ -__u64 jent_rol64(__u64 word, unsigned int shift) -{ - return rol64(word, shift); -} - void *jent_zalloc(unsigned int len) { return kzalloc(len, GFP_KERNEL); @@ -198,7 +193,7 @@ static void __exit jent_mod_exit(void) crypto_unregister_rng(&jent_alg); } -subsys_initcall(jent_mod_init); +module_init(jent_mod_init); module_exit(jent_mod_exit); MODULE_LICENSE("Dual BSD/GPL");