From: Antonino A. Daplas Date: Tue, 10 Jan 2006 04:52:58 +0000 (-0800) Subject: [PATCH] fbcon: Store struct display when setting all vcs X-Git-Tag: v2.6.16-rc1~560 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=04a2fe574ad10156266fcdb50adf30ebedad76fb;p=linux-2.6-omap-h63xx.git [PATCH] fbcon: Store struct display when setting all vcs Store struct display when setting all vc's. Otherwise, fbcon's behavior becomes undefined, such as malpositioning of the cursor. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 42ea3af8a9a..f05afc02de2 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c @@ -2803,6 +2803,8 @@ static void fbcon_set_all_vcs(struct fb_info *info) fbcon_update_softback(vc); } } + + ops->p = &fb_display[ops->currcon]; } static int fbcon_mode_deleted(struct fb_info *info,