diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-01-09 23:52:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 11:01:43 -0500 |
commit | 04a2fe574ad10156266fcdb50adf30ebedad76fb (patch) | |
tree | 9ec7800eaaeccc9fcf48d018c360ebf9a280163a /drivers/video/console | |
parent | 2610acc7ab36d7657d9a0c97a0e83cd1d6ee2b33 (diff) |
[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 <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/console')
-rw-r--r-- | drivers/video/console/fbcon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 42ea3af8a9ad..f05afc02de2a 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) | |||
2803 | fbcon_update_softback(vc); | 2803 | fbcon_update_softback(vc); |
2804 | } | 2804 | } |
2805 | } | 2805 | } |
2806 | |||
2807 | ops->p = &fb_display[ops->currcon]; | ||
2806 | } | 2808 | } |
2807 | 2809 | ||
2808 | static int fbcon_mode_deleted(struct fb_info *info, | 2810 | static int fbcon_mode_deleted(struct fb_info *info, |