From: Cedric Le Goater Date: Mon, 11 Sep 2006 19:31:45 +0000 (-0300) Subject: V4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run() X-Git-Tag: v2.6.19-rc1~643^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc28287979592c015560f8837a98b63a3be8bbc1;p=pandora-kernel.git V4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run() Replaced kernel_thread() with kthread_run() since kernel_thread() is deprecated in drivers/modules. Removed the completion and the wait queue which are now useless with kthread. Also removed the allow_signal() call as signals don't apply to kernel threads. Fixed a small race condition when thread is stopped. Please check if the timer vs. thread still works fine without the wait queue. Signed-off-by: Cedric Le Goater Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed