[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>
This commit is contained in:
parent
2610acc7ab
commit
04a2fe574a
1 changed files with 2 additions and 0 deletions
|
@ -2803,6 +2803,8 @@ static void fbcon_set_all_vcs(struct fb_info *info)
|
||||||
fbcon_update_softback(vc);
|
fbcon_update_softback(vc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ops->p = &fb_display[ops->currcon];
|
||||||
}
|
}
|
||||||
|
|
||||||
static int fbcon_mode_deleted(struct fb_info *info,
|
static int fbcon_mode_deleted(struct fb_info *info,
|
||||||
|
|
Loading…
Reference in a new issue