]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitef4cbee0b0d0f791bb593f99b702410f3c0efce6
tree9c7d2271f4af6985ffb6952fe43ddcf4d6d9b1d6
parent8b7fc4214b550fafe595330e28d7c2c72b8b62f6
[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