X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=drivers%2Fvideo%2Fsoftcursor.c;h=229c4bc350798c45f103a475f11f80a5e3f16dfe;hb=4c7ffe0b9f7f40bd818fe3af51342f64c483908e;hp=13a4511539a15b548e0e065eb37fa2f158d9c715;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=safe%2Fjmp%2Flinux-2.6 diff --git a/drivers/video/softcursor.c b/drivers/video/softcursor.c index 13a4511..229c4bc 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) } else memcpy(src, image->data, dsize); - if (info->pixmap.outbuf) - fb_iomove_buf_aligned(info, &info->pixmap, dst, d_pitch, src, - s_pitch, image->height); - else - fb_sysmove_buf_aligned(info, &info->pixmap, dst, d_pitch, src, - s_pitch, image->height); - + fb_pad_aligned_buffer(dst, d_pitch, src, s_pitch, image->height); image->data = dst; info->fbops->fb_imageblit(info, image); kfree(src); - return 0; }