diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2006-09-25 23:33:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 08:49:11 -0700 |
commit | e8216dee838c09776680a6f1a2e54d81f3cdfa14 (patch) | |
tree | a342f566fb564344911998088a6de92227a932dc /drivers/char/hvc_console.c | |
parent | e8df8c3304cfc7d68e9a6a7b6df6c64783cd6991 (diff) |
[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 <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/hvc_console.c')
0 files changed, 0 insertions, 0 deletions