generic: convert crypto-ocf from kernel_thread to kthread
authorGabor Juhos <[email protected]>
Sat, 2 Feb 2013 15:31:44 +0000 (15:31 +0000)
committerGabor Juhos <[email protected]>
Sat, 2 Feb 2013 15:31:44 +0000 (15:31 +0000)
commit4c223d7d4f8a325256bdcbcc602ea8662bde97c3
treea90701b8b368d486315fda46071a6140ed9e856d
parent7c87d28054617405d591ef8f405b7ec06ef3bea5
generic: convert crypto-ocf from kernel_thread to kthread

recent kernels have finally stopped exporting kernel_thread, since a
deprecation circa 2006.  This patch attempts to convert to the newer
kernel kthread API, particularly in random.c

[juhosg: remove randomproc variable, it is not required after the patch]

Signed-off-by: Russell Senior <[email protected]>
Signed-off-by: Gabor Juhos <[email protected]>
SVN-Revision: 35456
target/linux/generic/files/crypto/ocf/random.c