]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] hvc_console: start kernel thread before registering tty
authorAnton Blanchard <anton@samba.org>
Wed, 14 Sep 2005 21:19:18 +0000 (14:19 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 14 Sep 2005 21:34:17 +0000 (14:34 -0700)
commita53ed08c56705571b2445509da0efd5086732859
tree9c7d2271f4af6985ffb6952fe43ddcf4d6d9b1d6
parent383585ba453954e12be0864de93e65ba91905057
[PATCH] hvc_console: start kernel thread before registering tty

Its possible that we can write to the hvc_console tty as soon it is
registered.  Recently this started happening due to (what looks like) a
change to the hotplug code.

Unfortunately at this stage we have not started the khvcd kernel thread and
oops.  The solution is to start the kernel thread before registering the
tty.

Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/hvc_console.c