Skip to content

Commit

Permalink
[PATCH] fbcon: Store struct display when setting all vcs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Jan 10, 2006
1 parent 2610acc commit 04a2fe5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/video/console/fbcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 04a2fe5

Please sign in to comment.