Skip to contentSkip to conversation

fbcon: Save current display during initialization

PATCH Applied Antonino A. Daplas 1 participant 1 message Mar 27, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/7 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.

---

 drivers/video/console/fbcon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/video/console/fbcon.c +1 -0
index 041d069..dcc8bcb 100644
@@ -1142,6 +1142,7 @@ static void fbcon_init(struct vc_data *v
 		set_blitting_type(vc, info);
 	}
 
+	ops->p = &fb_display[fg_console];
 }
 
 static void fbcon_deinit(struct vc_data *vc)

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642