diff options
author | Jeff Garzik <jgarzik@pretzel.yyz.us> | 2005-06-26 23:38:58 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-26 23:38:58 -0400 |
commit | 5696c1944a33b4434a9a1ebb6383b906afd43a10 (patch) | |
tree | 16fbe6ba431bcf949ee8645510b0c2fd39b5810f /drivers/video/softcursor.c | |
parent | 66b04a80eea60cabf9d89fd34deb3234a740052f (diff) | |
parent | 020f46a39eb7b99a575b9f4d105fce2b142acdf1 (diff) | |
download | kernel-crypto-5696c1944a33b4434a9a1ebb6383b906afd43a10.tar.gz kernel-crypto-5696c1944a33b4434a9a1ebb6383b906afd43a10.tar.xz kernel-crypto-5696c1944a33b4434a9a1ebb6383b906afd43a10.zip |
Merge /spare/repo/linux-2.6/
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 13a4511539a..229c4bc3507 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; } |