generic: convert crypto-ocf from kernel_thread to kthread
authorGabor Juhos <juhosg@openwrt.org>
Sat, 2 Feb 2013 15:31:44 +0000 (15:31 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 2 Feb 2013 15:31:44 +0000 (15:31 +0000)
commitd3fe8e38ccc5ad4911691cca8690fe577011cfc0
tree4756ec5b4d958b052aefdf10a346c37197e39712
parentaad50acc534732ab43c5aa9b56f5163709993a1d
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