Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83559
b: refs/heads/master
c: 2c6cc35
h: refs/heads/master
i:
  83557: f2b9581
  83555: 7a80a2d
  83551: 7f955f3
v: v3
  • Loading branch information
Marcin Slusarz authored and Linus Torvalds committed Feb 6, 2008
1 parent 8b3e8b8 commit 5c219d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cbfb3e09c5f5cc21994fd06abb5b5839589d5b9a
refs/heads/master: 2c6cc35c3033ef1ef79565164963687d686f9f05
10 changes: 5 additions & 5 deletions trunk/drivers/video/console/fbcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -2795,7 +2795,7 @@ static int fbcon_scrolldelta(struct vc_data *vc, int lines)
{
struct fb_info *info = registered_fb[con2fb_map[fg_console]];
struct fbcon_ops *ops = info->fbcon_par;
struct display *p = &fb_display[fg_console];
struct display *disp = &fb_display[fg_console];
int offset, limit, scrollback_old;

if (softback_top) {
Expand Down Expand Up @@ -2833,7 +2833,7 @@ static int fbcon_scrolldelta(struct vc_data *vc, int lines)
logo_shown = FBCON_LOGO_CANSHOW;
}
fbcon_cursor(vc, CM_ERASE | CM_SOFTBACK);
fbcon_redraw_softback(vc, p, lines);
fbcon_redraw_softback(vc, disp, lines);
fbcon_cursor(vc, CM_DRAW | CM_SOFTBACK);
return 0;
}
Expand All @@ -2855,9 +2855,9 @@ static int fbcon_scrolldelta(struct vc_data *vc, int lines)

fbcon_cursor(vc, CM_ERASE);

offset = p->yscroll - scrollback_current;
limit = p->vrows;
switch (p->scrollmode) {
offset = disp->yscroll - scrollback_current;
limit = disp->vrows;
switch (disp->scrollmode) {
case SCROLL_WRAP_MOVE:
info->var.vmode |= FB_VMODE_YWRAP;
break;
Expand Down

0 comments on commit 5c219d2

Please sign in to comment.