generic: convert crypto-ocf from kernel_thread to kthread
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 2 Feb 2013 15:31:44 +0000 (15:31 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 2 Feb 2013 15:31:44 +0000 (15:31 +0000)
commit8f19f78d0a621ca76cf2a2e316f0f55f29c70c16
tree4756ec5b4d958b052aefdf10a346c37197e39712
parent90a0e9db0670264cd993aa5bf5d504d8f4841267
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 <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35456 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/crypto/ocf/random.c