diff options
Diffstat (limited to 'drivers/video/softcursor.c')
-rw-r--r-- | drivers/video/softcursor.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/video/softcursor.c b/drivers/video/softcursor.c index a6c5ca88d6b0..229c4bc35079 100644 --- a/drivers/video/softcursor.c +++ b/drivers/video/softcursor.c | |||
@@ -58,13 +58,10 @@ int soft_cursor(struct fb_info *info, struct fb_cursor *cursor) | |||
58 | } else | 58 | } else |
59 | memcpy(src, image->data, dsize); | 59 | memcpy(src, image->data, dsize); |
60 | 60 | ||
61 | fb_sysmove_buf_aligned(info, &info->pixmap, dst, d_pitch, src, | 61 | fb_pad_aligned_buffer(dst, d_pitch, src, s_pitch, image->height); |
62 | s_pitch, image->height); | ||
63 | |||
64 | image->data = dst; | 62 | image->data = dst; |
65 | info->fbops->fb_imageblit(info, image); | 63 | info->fbops->fb_imageblit(info, image); |
66 | kfree(src); | 64 | kfree(src); |
67 | |||
68 | return 0; | 65 | return 0; |
69 | } | 66 | } |
70 | 67 | ||