]> git.neil.brown.name Git - history.git/commit
[PATCH] Fix console initialization deadlock for x86-64
authorAndi Kleen <ak@muc.de>
Sat, 20 Apr 2002 03:06:43 +0000 (20:06 -0700)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sat, 20 Apr 2002 03:06:43 +0000 (20:06 -0700)
commit61aacaa291e09842c8c379fefc600d54b938e006
tree88fd4727de910f36be040eeb4ac9a461423e9105
parentb817df50888391b124b5bec5ce46457844ba77c4
[PATCH] Fix console initialization deadlock for x86-64

When vt_init happens to run before the keyboard is initialized (the order is random
because they're both different initcalls) then set_leds raises an not yet enabled
tasklet. This causes an endless loop on the first schedule() call because the tasklet
handling cannot handle raised but disabled tasklets.

This patch just does not do set_leds in virtual terminal initialization to avoid that.
It is done later anyways.
drivers/char/console.c