diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-03-31 05:31:45 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-31 15:19:00 -0500 |
commit | 1a37d5f51020b9967d4b4094f6d627d0873a6469 (patch) | |
tree | ac01b1877acd3405d3f3bf186889295187177c7c | |
parent | 3e7e241f8c5c87cc3685364feface081c9fa3648 (diff) |
[PATCH] fbcon: Save current display during initialization
The current display was not saved during initialization. This leads to hard
to track console corruption, such as a misplaced cursor, which is correctible
by switching consoles. Fix this minor bug.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/video/console/fbcon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index d7351560f581..ca020719d20b 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -1142,6 +1142,7 @@ static void fbcon_init(struct vc_data *vc, int init) | |||
1142 | set_blitting_type(vc, info); | 1142 | set_blitting_type(vc, info); |
1143 | } | 1143 | } |
1144 | 1144 | ||
1145 | ops->p = &fb_display[fg_console]; | ||
1145 | } | 1146 | } |
1146 | 1147 | ||
1147 | static void fbcon_deinit(struct vc_data *vc) | 1148 | static void fbcon_deinit(struct vc_data *vc) |