diff options
author | Steve French <sfrench@us.ibm.com> | 2010-06-16 09:19:36 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-06-16 09:19:36 -0400 |
commit | 0933a95dfdb1ae5c93e1ede5899f35acc2bb244d (patch) | |
tree | 55ac47b819a2a2084f82f9d823d9152ac2a7f2b3 /drivers/char/vt.c | |
parent | 12420ac341533f3715b3deb788637568f22b78ff (diff) | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) |
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/char/vt.c')
-rw-r--r-- | drivers/char/vt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 1296c42ed5c6..7cdb6ee569cd 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c | |||
@@ -304,7 +304,7 @@ static void scrup(struct vc_data *vc, unsigned int t, unsigned int b, int nr) | |||
304 | d = (unsigned short *)(vc->vc_origin + vc->vc_size_row * t); | 304 | d = (unsigned short *)(vc->vc_origin + vc->vc_size_row * t); |
305 | s = (unsigned short *)(vc->vc_origin + vc->vc_size_row * (t + nr)); | 305 | s = (unsigned short *)(vc->vc_origin + vc->vc_size_row * (t + nr)); |
306 | scr_memmovew(d, s, (b - t - nr) * vc->vc_size_row); | 306 | scr_memmovew(d, s, (b - t - nr) * vc->vc_size_row); |
307 | scr_memsetw(d + (b - t - nr) * vc->vc_size_row, vc->vc_video_erase_char, | 307 | scr_memsetw(d + (b - t - nr) * vc->vc_cols, vc->vc_video_erase_char, |
308 | vc->vc_size_row * nr); | 308 | vc->vc_size_row * nr); |
309 | } | 309 | } |
310 | 310 | ||