diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-06-26 00:27:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 09:58:32 -0700 |
commit | 1c8ce271fe707d26b7bca4e490067fe65694b363 (patch) | |
tree | 42fc5fa81161065874b9aa751773d15465a8de9b /include/asm-sh/pgtable.h | |
parent | 50ec42edd9784fad6a37b05be03064ea24098db6 (diff) |
[PATCH] Detaching fbcon: fix give_up_console()
To allow for detaching fbcon, it must be able to give up the console.
However, the function give_up_console() is plain broken. It just sets the
entries in the console driver map to NULL, it leaves the vt layer without a
console driver, and does not decrement the module reference count. Calling
give_up_console() is guaranteed to hang the machine..
To fix this problem, ensure that the virtual consoles are not left dangling
without a driver. All systems have a default boot driver (either vgacon or
dummycon) which is never unloaded. For those vt's that lost their driver, the
default boot driver is reassigned back to them.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-sh/pgtable.h')
0 files changed, 0 insertions, 0 deletions