[linux-yocto] [PATCH 1/5] ocf: remove the unneeded invocation of daemonize()

Kevin Hao kexin.hao at windriver.com
Sun Oct 20 20:12:37 PDT 2013


In the current kernel, all kthread are created by the kthreadd thread
and the invocation of function daemonize() for the kthread function is
not needed anymore. Actually function daemonize() has already been killed
by commit c4144670 (kill daemonize()) in the latest kernel.

Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
---
 crypto/ocf/random.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/crypto/ocf/random.c b/crypto/ocf/random.c
index 4bb773ffb95a..02eee6a8f8c4 100644
--- a/crypto/ocf/random.c
+++ b/crypto/ocf/random.c
@@ -199,7 +199,6 @@ random_proc(void *arg)
 	spin_unlock_irq(&current->sigmask_lock);
 	sprintf(current->comm, "ocf-random");
 #else
-	daemonize("ocf-random");
 	allow_signal(SIGKILL);
 #endif
 
-- 
1.8.3.1




More information about the linux-yocto mailing list