From: Heiko Carstens Date: Tue, 26 Sep 2006 06:33:11 +0000 (-0700) Subject: [PATCH] s390: fix cmm kernel thread handling X-Git-Tag: v2.6.19-rc1~1079 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8216dee838c09776680a6f1a2e54d81f3cdfa14;p=pandora-kernel.git [PATCH] s390: fix cmm kernel thread handling Convert cmm's usage of kernel_thread to kthread_run. Also create the cmmthread at module load time, so it is possible to check if creation of the thread fails. In addition the cmmthread now gets terminated when the module gets unloaded instead of leaving a stale kernel thread. Also check the return values of other registration functions at module load and handle their return values appropriately. Cc: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed