diff options
-rw-r--r-- | drivers/video/console/vgacon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index 56cd199605f4..274f90543e32 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c | |||
@@ -448,7 +448,8 @@ static void vgacon_cursor(struct vc_data *c, int mode) | |||
448 | vgacon_scrolldelta(c, 0); | 448 | vgacon_scrolldelta(c, 0); |
449 | switch (mode) { | 449 | switch (mode) { |
450 | case CM_ERASE: | 450 | case CM_ERASE: |
451 | write_vga(14, (vga_vram_end - vga_vram_base - 1) / 2); | 451 | write_vga(14, (c->vc_pos - vga_vram_base) / 2); |
452 | vgacon_set_cursor_size(c->vc_x, 31, 30); | ||
452 | break; | 453 | break; |
453 | 454 | ||
454 | case CM_MOVE: | 455 | case CM_MOVE: |