diff options
Diffstat (limited to 'drivers/video/console/bitblit.c')
-rw-r--r-- | drivers/video/console/bitblit.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/video/console/bitblit.c b/drivers/video/console/bitblit.c index 4eef20790c3e..3c731577fed6 100644 --- a/drivers/video/console/bitblit.c +++ b/drivers/video/console/bitblit.c | |||
@@ -157,9 +157,9 @@ static void bit_putcs(struct vc_data *vc, struct fb_info *info, | |||
157 | src = buf; | 157 | src = buf; |
158 | } | 158 | } |
159 | 159 | ||
160 | fb_sysmove_buf_unaligned(info, &info->pixmap, dst, pitch, | 160 | fb_pad_unaligned_buffer(dst, pitch, src, idx, |
161 | src, idx, image.height, | 161 | image.height, shift_high, |
162 | shift_high, shift_low, mod); | 162 | shift_low, mod); |
163 | shift_low += mod; | 163 | shift_low += mod; |
164 | dst += (shift_low >= 8) ? width : width - 1; | 164 | dst += (shift_low >= 8) ? width : width - 1; |
165 | shift_low &= 7; | 165 | shift_low &= 7; |
@@ -175,8 +175,7 @@ static void bit_putcs(struct vc_data *vc, struct fb_info *info, | |||
175 | src = buf; | 175 | src = buf; |
176 | } | 176 | } |
177 | 177 | ||
178 | fb_sysmove_buf_aligned(info, &info->pixmap, dst, pitch, | 178 | fb_pad_aligned_buffer(dst, pitch, src, idx, image.height); |
179 | src, idx, image.height); | ||
180 | dst += width; | 179 | dst += width; |
181 | } | 180 | } |
182 | } | 181 | } |