diff options
Diffstat (limited to 'drivers/video/softcursor.c')
-rw-r--r-- | drivers/video/softcursor.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/video/softcursor.c b/drivers/video/softcursor.c index 13a4511539a1..229c4bc35079 100644 --- a/drivers/video/softcursor.c +++ b/drivers/video/softcursor.c | |||
@@ -58,17 +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 | if (info->pixmap.outbuf) | 61 | fb_pad_aligned_buffer(dst, d_pitch, src, s_pitch, image->height); |
62 | fb_iomove_buf_aligned(info, &info->pixmap, dst, d_pitch, src, | ||
63 | s_pitch, image->height); | ||
64 | else | ||
65 | fb_sysmove_buf_aligned(info, &info->pixmap, dst, d_pitch, src, | ||
66 | s_pitch, image->height); | ||
67 | |||
68 | image->data = dst; | 62 | image->data = dst; |
69 | info->fbops->fb_imageblit(info, image); | 63 | info->fbops->fb_imageblit(info, image); |
70 | kfree(src); | 64 | kfree(src); |
71 | |||
72 | return 0; | 65 | return 0; |
73 | } | 66 | } |
74 | 67 | ||